How to get WAMP to work with MSSQL

404

Error: Title not found.
Loyal Member
Joined
Jul 11, 2007
Messages
2,693
Reaction score
2,181
Download a clean version of WAMP:
Next, download the newest add-on of php:
Next, download ntwdblib.dll:


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.
 
Last edited:
thanks for refreshing my memories lol.. i get used to xampp and forgot that wamp was much easy to work with.. thanks
 
Another tnink you have to know is SQL full install works on port:80
so you have to change Wampserver port.

To check the port just click on WAMPSERVER ICON > Apache > Service > Test Port

if you recive this:

404 - How to get WAMP to work with MSSQL - RaGEZONE Forums


just need open httpd.conf and find this line
Code:
Listen 80
and chango for
Code:
Listen 8080
 
Back