Beauford wrote:
Hi,

I just upgraded to PHP 5.1.4 and now none of my sites will connect to MySQL.
I keep getting the error:

Fatal error: Call to undefined function mysql_connect()

I enabled php_mysql.dll in php.ini as one article suggested, but still no
go.

Firstly does the php_mysql.dll file exist in the php\extensions folder?

Did you restart your webserver?

I'm guessing the windows version of php has two different mysql dll's - if it does, did you enable php_mysql.dll or php_mysqli.dll ? mysqli.dll uses mysqli functions (http://www.php.net/mysqli) not the regular mysql functions.

If it doesn't come with two dll's, then ignore that part ;) I'm too lazy to download it and check.

Maybe this page would help.. http://www.php.net/manual/en/install.windows.manual.php

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to