Jump to content

mySQL not loaded?


Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/93653-mysql-not-loaded/
Share on other sites

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\ ?

 

 

Link to comment
https://forums.phpfreaks.com/topic/93653-mysql-not-loaded/#findComment-479850
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/93653-mysql-not-loaded/#findComment-480260
Share on other sites

Archived

This topic is now archived and is 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.