• Resolved zaqedc

    (@zaqedc)


    I’m using trying to install the latest version of wordpress on windows from scratch. Have installed PHP and MySQL ok with IIS 7.5(confirmed both are working, can access a test php file placed in my root folder etc.)

    I recieve the following error when trying to install wordpress:
    “Your PHP installation appears to be missing the MySQL extension which is required by WordPress”

    I have the following lines uncommented in the php.ini file:
    extension=php_mysql.dll
    extension=php_mysqli.dll

    I’ve been through the support forums and seen a solution that involves copying libmysql.dll from the php to system32 folder, but no such file exists in the version of php I installed (5.3.6).

    Anyone have an idea where I’m going wrong?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter zaqedc

    (@zaqedc)

    Also uncommented these from the php.ini:
    extension=php_pdo_mssql.dll
    extension=php_pdo_mysql.dll

    Problem persists.

    Thread Starter zaqedc

    (@zaqedc)

    Set up MySQL Database and edited wp-config.php per the wordpress installation instructions, on the off chance it might help. No joy. If anyone has a suggestion I’d appreciate.

    Thread Starter zaqedc

    (@zaqedc)

    Thanks for the reply. I’ve followed instructions given in that thread to the letter, but still no joy I’m afraid. The very same error appears.

    A poster in that topic mentions re: the phpinfo() file:
    “If there is no mysql or mysqli section there is an issue with the mysql extension.”

    This is the case with me, neither of those sections appear in the phpinfo file. I downloaded the zip folder again from the php website and used it’s ext folder to overwrite the one currently in my c:\php folder, on the off chance something there was corrupt or something.

    Again, the problem persists. If it is an issue with the php extensions, how would you go about fixing that? There seems to be only one place to get them from…

    Any phpinfo file you’re using to check configs and your php.ini are completey different animals and have no interaction with each other. You can’t simply copy a php install or folder and expect it to work; php has to be configured. If you’re trying to run localhost, use http://www.apachefriends.org/en/xampp.html

    Thread Starter zaqedc

    (@zaqedc)

    I’m not sure I understand what you mean. I wasn’t copying an entire install, just the extensions folder, and even then just as an experiment. I’ve personally made sure my php.ini settings are “by the book” each time.

    I might give that xampp a go in either case. Though to be honest I’m still not sure why I’m getting that MySQL error. Thanks for your help.

    Thread Starter zaqedc

    (@zaqedc)

    Resolved this. Evidentally I’d left out some small setting or other from php.ini, because when I completely removed and re-installed php from zip file it works fine after configuration now!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘"Missing MySQL extension" error, despite having the extensions enabled’ is closed to new replies.