How to get WAMP to work with MSSQL

Joined
Jul 11, 2007
Messages
2,693
Reaction score
2,177
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:
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
 
wehn im going to put the extensions of php_mssql and php_pdo_mssql.

this shit show me:

"Could not execute menu item (internal error)
[Exception] Could not perform service action:
The service was not found"

what to do? D8
 
Back