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
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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.