How to get WAMP to work with MSSQL

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.

finally someone that told me how to fix my cms problem!
 
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.

Thanks very much bro i apereciate that god bless you :)
your the best :)
 
Last edited:
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.

The link for the php addons is wrong or it took me to the wrong place. The correct link is here
:


This post helped me figure out the other thing.
 
Hello, i'v followed your step and done it over and over 3 times..

and still when i type in the ip addres in my browser is says Unable too connect, restricted acces, you know what it is??

becouse with wamp version 5.3.0 i atleast get a connection.
 
hmm, i'v followed every step, i'v followed other guides, i'v done this and that... nothing works. what ever i do i still do not get a connection too MSSQL..

i'v finnaly managed too get a register script too load, and then as i type in name and password and then press enter, the hole page turns blank..

any ideeas??
 
hmm, i'v followed every step, i'v followed other guides, i'v done this and that... nothing works. what ever i do i still do not get a connection too MSSQL..

i'v finnaly managed too get a register script too load, and then as i type in name and password and then press enter, the hole page turns blank..

any ideeas??

Sounds like there's an error in your register page then. Go into php.ini and set error reporting to all.
 
i get this error: "Fatal error: Call to undefined function mssql_connect() in D:\wamp\www\config.php on line 7
" and i don't know how to fix it i get this with xampp to
 
Followed all steps still getting this... Can som1 help me with TeamVieuwer ??/>

Fatal error: Call to undefined function mssql_connect() in C:\wamp\www\RawrGunZ\include\config.php on line 18
 
Back