Re: Upgrade problems PHP 5.1.4 (Windows)
| From: | Chris | Date: | Tue, 23 May 2006 01:50:18 +0000 |
| Subject: | Re: Upgrade problems PHP 5.1.4 (Windows) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236688@lists.php.net to get a copy of this message | ||
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/