KGodwin Posted September 8, 2006 Share Posted September 8, 2006 I can get anything else to load tho. =(Pertinent Parts of Php.iniextension_dir = "C:\PHP\ext\"extension=php_mysql.dll... (figured you didn't need the entire list)extension=php_xmlrpc.dllextension=php_xsl.dllI've deleted the the old copy of libmysql.dll and added C:\PHP to PATH (It has the current libmysql.dll for PHP).Windows '03IIS 6.0 Link to comment https://forums.phpfreaks.com/topic/20088-i-cant-get-the-mysql-extension-to-load-resolved/ Share on other sites More sharing options...
wildteen88 Posted September 8, 2006 Share Posted September 8, 2006 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 https://forums.phpfreaks.com/topic/20088-i-cant-get-the-mysql-extension-to-load-resolved/#findComment-88264 Share on other sites More sharing options...
KGodwin Posted September 8, 2006 Author Share Posted September 8, 2006 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 https://forums.phpfreaks.com/topic/20088-i-cant-get-the-mysql-extension-to-load-resolved/#findComment-88461 Share on other sites More sharing options...
wildteen88 Posted September 8, 2006 Share Posted September 8, 2006 If the mysqli extension works then the mysql extension should too. They both use the same mysql library (libmysql.dll). Very strange. Is the mysql extension you have the same versions as the version of PHP you are using? Link to comment https://forums.phpfreaks.com/topic/20088-i-cant-get-the-mysql-extension-to-load-resolved/#findComment-88467 Share on other sites More sharing options...
KGodwin Posted September 8, 2006 Author Share Posted September 8, 2006 Yep. It's the same one I extracted from the .zip I got from PHP.net.Apparently it somehow got corrupted since re-downloading it and replacing the 1 file worked. Link to comment https://forums.phpfreaks.com/topic/20088-i-cant-get-the-mysql-extension-to-load-resolved/#findComment-88516 Share on other sites More sharing options...
Recommended Posts