php mySql question
| From: | Ned Kotter | Date: | Tue, 26 Jul 2005 03:02:36 +0000 |
| Subject: | php mySql question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-219397@lists.php.net to get a copy of this message | ||
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
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com