Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to get WAMP to work with MSSQL

Junior Spellweaver
Joined
Aug 8, 2007
Messages
154
Reaction score
2
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!
 
Skilled Illusionist
Joined
Apr 27, 2010
Messages
336
Reaction score
15
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:
Newbie Spellweaver
Joined
Aug 17, 2010
Messages
69
Reaction score
11
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.
 
Newbie Spellweaver
Joined
Oct 18, 2009
Messages
21
Reaction score
0
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.
 
Newbie Spellweaver
Joined
Oct 18, 2009
Messages
21
Reaction score
0
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??
 
Master Summoner
Joined
Feb 24, 2009
Messages
590
Reaction score
63
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.
 
Newbie Spellweaver
Joined
Nov 25, 2010
Messages
21
Reaction score
0
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
 
i sell platypus
Loyal Member
Joined
Jun 26, 2009
Messages
2,640
Reaction score
1,326
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

You don't have mssql enabled.
nice necro.
 
Newbie Spellweaver
Joined
Jan 19, 2011
Messages
8
Reaction score
0
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
Top