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:
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.
# ::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.