Re: Upgrade problems PHP 5.1.4 (Windows)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux