We have been struggling for the past three days trying to connect wordpress to sql server using iis.
We are using iis because management doesn't want us to use WAMP or XAMMP.
Anyway, we used Microsoft web Platform installer to install, PHP and PHP Manager.
Configured, tested and phpinfo is rendered fine.
We downloaded wp-db-abstraction plugin, created a folder called MU-Plugins and put the wp-db-abstraction plugin inside this folder, grabbed wp-db.php that came with this plugin and put it inside the wp-content folder.
Then we downloaded sql server driver for php.
The version of php we installed is 5.6 ( I know).
We registered these dlls in php.ini. Then copied these dlls into the php/ext folder.
The version registered is for php 5.6
Then we fired wordpress = http://servername/index.php
and then got this error:
Error establishing database connection
This either means that the username and password information in your wp.config.php incorrect or we can't contact the database server at xxxxxxxxxxxxx.
Are you sure you have the connect username?
Are you sure you have the correct password?
Are you sure you have the correct hostname?
Are you sure database server is running?
Does any one of you experts please help me out on this?
Thank you in advance