I am trying to get my first WordPress installation running under Windows IIS 7.5 and I am running into the common "Your PHP installation appears to be missing the MySQL extension which is required by WordPress." error.
I used the Web Matrix Installer which installed:
PHP 5.3.19
Wordpress 3.4
MySQL 5.1
I have run the PHPinfo.php page with no problems so I know PHP is working.
The MySQL service is running (though I'm not sure how to test that it is actually working).
Presumably WordPress is installed properly but cannot "speak" to mySQL. I have tried the following from other articles about this same error:
1. Changed the hosts file so the IPv6 is commented out, like so
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
# ::1 localhost
Restarted IIS afterwards. Rebooted as well.
2. Made sure that extension=php_mysql.dll and extension=php_mysqli.dll are uncommented in my php.ini file
3. Granted IIS_IUSRS and NETWORK SERVICE permissions to the entire WP directory and the PHP directory.
4. Confirmed that an environment variable had been created which points to the PHP installation directory, which is C:\Program Files (x86)\PHP\v5.3\
FYI I am running this on a Amazon EC2 instance of windows 2008R2 if that matters.
Any help would be appreciated - this is driving me a little crazy at this point and I cannot find any other suggestions.
Ran into an issue simialr to this a few weeks ago. Did you get WP to install? Obviously it runs off of MySQL, but MYSQL needs to be installed seperately. Install that and remember teh password that you entered. Enter that in the WP intallation.
BTW - I had to download MySQL from http://www.mysql.com/ and then installed WP from WPI.
Cory Granata
Please "Mark" as Answer if this post helped you.
juliandormon
30 Posts
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
Feb 10, 2013 03:47 PM|LINK
I am trying to get my first WordPress installation running under Windows IIS 7.5 and I am running into the common "Your PHP installation appears to be missing the MySQL extension which is required by WordPress." error.
I used the Web Matrix Installer which installed:
PHP 5.3.19
Wordpress 3.4
MySQL 5.1
I have run the PHPinfo.php page with no problems so I know PHP is working.
The MySQL service is running (though I'm not sure how to test that it is actually working).
Presumably WordPress is installed properly but cannot "speak" to mySQL. I have tried the following from other articles about this same error:
1. Changed the hosts file so the IPv6 is commented out, like so
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
# ::1 localhost
Restarted IIS afterwards. Rebooted as well.
2. Made sure that extension=php_mysql.dll and extension=php_mysqli.dll are uncommented in my php.ini file
3. Granted IIS_IUSRS and NETWORK SERVICE permissions to the entire WP directory and the PHP directory.
4. Confirmed that an environment variable had been created which points to the PHP installation directory, which is C:\Program Files (x86)\PHP\v5.3\
FYI I am running this on a Amazon EC2 instance of windows 2008R2 if that matters.
Any help would be appreciated - this is driving me a little crazy at this point and I cannot find any other suggestions.
juliandormon
30 Posts
Re: Your PHP installation appears to be missing the MySQL extension which is required by WordPres...
Feb 10, 2013 08:55 PM|LINK
Thanks. How exactly do I restart PHP please? I do not see it running as a service?
juliandormon
30 Posts
Re: Your PHP installation appears to be missing the MySQL extension which is required by WordPres...
Feb 11, 2013 04:00 AM|LINK
I restarted IIS - from what I've read this should restart PHP. I also did a reboot to no avail.
g_cory
348 Posts
Re: Your PHP installation appears to be missing the MySQL extension which is required by WordPres...
Feb 13, 2013 07:26 PM|LINK
Ran into an issue simialr to this a few weeks ago. Did you get WP to install? Obviously it runs off of MySQL, but MYSQL needs to be installed seperately. Install that and remember teh password that you entered. Enter that in the WP intallation.
BTW - I had to download MySQL from http://www.mysql.com/ and then installed WP from WPI.
Please "Mark" as Answer if this post helped you.
OrcsWeb: Managed Windows Hosting Solutions
"Remarkable Service. Remarkable Support."