Download a clean version of WAMP:
To view the content, you need to sign in or register
Next, download the newest add-on of php:
To view the content, you need to sign in or register
Next, download ntwdblib.dll:
To view the content, you need to sign in or register
1)
* Install WAMP
2) Install latest php addon.
Dont do anything with ntwdblib.dll YET!
3) Click on the
WAMP icon ->
PHP ->
Version and select
5.3.1.
4) Click on the
WAMP icon ->
PHP ->
PHP Extensions then check
php_mssql and
php_pdo_mssql.
(Wamp will restart and give you few errors, ignore them)
5) Restart WAMP one more time to ensure settings are saved.
6) Finally, place ntwdblib file in the two following directories:
wamp\bin\php\php5.3.1
wamp\bin\apache\apache2.2.11\bin
7) Restart wampserver, and you're finished!
---------------
*1) SKIP THIS STEP IF YOU ALREADY GOT WAMP INSTALLED
Your finished, and hopefully now php will be happy to talk to mssql
Since the original author deleted the guide, I decided to bring it back

Based on original but cleaned-up guide by Alexsh.
Cheers.