Re: php mySql question
| From: | axel | Date: | Wed, 27 Jul 2005 11:31:51 +0000 |
| Subject: | Re: php mySql question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219406@lists.php.net to get a copy of this message | ||
Sure that your php.ini is located correctly?
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. Thanks, NK