Jump to content

I can't get the MySQL extension to load. *resolved*


Recommended Posts

I can get anything else to load tho. =(

Pertinent Parts of Php.ini
extension_dir = "C:\PHP\ext\"

extension=php_mysql.dll
... (figured you didn't need the entire list)
extension=php_xmlrpc.dll
extension=php_xsl.dll

I've deleted the the old copy of libmysql.dll and added C:\PHP to PATH (It has the current libmysql.dll for PHP).

Windows '03
IIS 6.0
Link to comment
Share on other sites

Make sure there are no other existing libmysql.dll files in either the WINNT or WINNT/SYSTEM32 folder. If you dont have a WINNT folder look for a WINDOWS folder.

Also make sure PHP is using the correct php.ini too, by running the phpinfo() function in a script. Also make sure you have restarted IIS too when changing the php.ini file. And have you restarted your computer when you added PHP to the PATH.
Link to comment
Share on other sites

There were no other files besides the 'old' one. (I double checked w/ Find).

MySQLi works fine (just turned it on for kicks), the problem is...every single database function I have in there (from the OS stuff like forums to my stuff) is in MySQL. It would be a hassle to change it simply because the php_mysql.dll doesn't work.

Yes, it uses the right php.ini file. (C:\Windows\PHP.ini)
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.