Re: php mySql question
| From: | John Nichel | Date: | Wed, 27 Jul 2005 13:14:22 +0000 |
| Subject: | Re: php mySql question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219416@lists.php.net to get a copy of this message | ||
Ned Kotter wrote:
I have installed php 5.0.4 on my windows 2000, IIS 6.0 server. PHP works but when I try to connect to MySQL I get the Fatal error: Call to undefined function mysql_connect(). I have uncommented the line in the php.ini file that says 'extension=php_mysql.dll'. I have path variables set for both c:\php and c:\php\ext. One very peculiar thing that I noticed when I ran phpinfo() is that it shows the extension_dir is set to c:\php5 even though in my php.ini file it is set to c:\php. I have a feeling that this is where the problem exists. Any advice would be appreciated.Look at your phpinfo page and make sure it's reading the ini file that you think it is. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com