Connecting Tech Pros Worldwide Forums | Help | Site Map

MySQL not working for PHP 5

Matt Crossley
Guest
 
Posts: n/a
#1: Jul 17 '05
I have a fresh install of MySQL and PHP 5 but PHP is saying that the
mysql_connect isnt there...does anyone know how to fix this?
Thanks in advance.

Matt


Tony Marston
Guest
 
Posts: n/a
#2: Jul 17 '05

re: MySQL not working for PHP 5


PHP 5 comes with two MySQL extensions (original for version < 4.1, improved
for versions >= 4.1). Which one did you enable in the php.ini file?

--
Tony Marston

http://www.tonymarston.net



"Matt Crossley" <vbaspcppguy@gmail.com> wrote in message
news:1102638446.012497.38590@f14g2000cwb.googlegro ups.com...[color=blue]
>I have a fresh install of MySQL and PHP 5 but PHP is saying that the
> mysql_connect isnt there...does anyone know how to fix this?
> Thanks in advance.
>
> Matt
>[/color]


Amit
Guest
 
Posts: n/a
#3: Jul 17 '05

re: MySQL not working for PHP 5


http://groups-beta.google.com/group/php_programming

Zagadum
Guest
 
Posts: n/a
#4: Jul 17 '05

re: MySQL not working for PHP 5


On 9 Dec 2004 16:27:26 -0800, Matt Crossley <vbaspcppguy@gmail.com> wrote:
[color=blue]
> I have a fresh install of MySQL and PHP 5 but PHP is saying that the
> mysql_connect isnt there...does anyone know how to fix this?
> Thanks in advance.
>
> Matt
>[/color]
1) create file phpinfo.php
2) write
<?
phpinfo();
?>

3) find keywork mysql
if mysql exist then all ok else need recompile php on you server.

icq:75717272


--
(c)zagadum
Andy Hassall
Guest
 
Posts: n/a
#5: Jul 17 '05

re: MySQL not working for PHP 5


On 10 Dec 2004 06:25:58 -0800, "Amit" <amits_1982@sify.com> wrote:
[color=blue]
>http://groups-beta.google.com/group/php_programming[/color]

Hm. So Google, not satisfied with replacing Google Groups with a worse
interface, are now also trying to fragment Usenet further by adding completely
separate groups through the same interface? *sigh*

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Closed Thread