dmccabe Posted February 29, 2008 Share Posted February 29, 2008 I just updated from php4 to php5 on my IIS web server. Got php working fine, but now none of my sites work. Wordpress displays: Your PHP installation appears to be missing the MySQL which is required for WordPress. PHPMyAdmin shows: phpMyAdmin - Error Cannot load mysql extension. Please check your PHP configuration. - Documentation I have uncommented the mysql and mysqli lines in php.ini and everything else seems to be right, but this just isnt working. Quote Link to comment https://forums.phpfreaks.com/topic/93653-mysql-not-loaded/ Share on other sites More sharing options...
dmccabe Posted February 29, 2008 Author Share Posted February 29, 2008 Not trying to bump this, but there is no edit button. Anyway I have noticed that if I make the phpinfo file then it is listing these details: Loaded Configuration File C:\WINNT\system32\php.ini Configuration File (php.ini) Path C:\WINNT Yet my path in my server is %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\,c:\php\;c:\php\ext\ Why is it showing as c:\winnt\ ? Quote Link to comment https://forums.phpfreaks.com/topic/93653-mysql-not-loaded/#findComment-479850 Share on other sites More sharing options...
wildteen88 Posted February 29, 2008 Share Posted February 29, 2008 You must have a php.ini file located in C:\WINNT\system32\ already. Search for any php.ini files on your computer and remove/rename them. Ensure you only have one php.ini file, which should be in C:\php Also no need to add both C:\php and C:\php\ext to the path. C:\php will do fine. Quote Link to comment https://forums.phpfreaks.com/topic/93653-mysql-not-loaded/#findComment-480260 Share on other sites More sharing options...
dmccabe Posted March 3, 2008 Author Share Posted March 3, 2008 Thanks for the help I managed to get it reading right now Quote Link to comment https://forums.phpfreaks.com/topic/93653-mysql-not-loaded/#findComment-482314 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.