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

Joined
Jul 11, 2007
Messages
2,695
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:
Skilled Illusionist
Joined
Dec 22, 2008
Messages
340
Reaction score
6
thanks for refreshing my memories lol.. i get used to xampp and forgot that wamp was much easy to work with.. thanks
 
Experienced Elementalist
Joined
Sep 8, 2009
Messages
296
Reaction score
78
Thanks for the credits <:
 
0xC0FFEE
Loyal Member
Joined
Dec 24, 2006
Messages
1,655
Reaction score
477
@breastb
Go to your xampp folder, find PHP.ini, open it search up the line
;extension php_mssql.dll
and remove the ; sign in front so it looks like this:
extension php_mssql.dll
 
Newbie Spellweaver
Joined
Dec 22, 2009
Messages
6
Reaction score
0
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
 
Joined
Oct 16, 2008
Messages
2,639
Reaction score
945
wehn im going to put the extensions of php_mssql and php_pdo_mssql.

this poop show me:

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

what to do? D8
 
We are Maverick!
Loyal Member
Joined
Feb 27, 2009
Messages
2,915
Reaction score
1,000
Sounds like you broke WAMP, you might need to re-install.
 
We are Maverick!
Loyal Member
Joined
Feb 27, 2009
Messages
2,915
Reaction score
1,000
WAMP doesn't come with php_mssql.dll and php_pdo_mssql.dll anymore sadly, that's why you get those errors.
 
We are Maverick!
Loyal Member
Joined
Feb 27, 2009
Messages
2,915
Reaction score
1,000
o.o so i need download the dlls and put in wamp folder?

that error show me for alot of things xD

when i try to start a service

or put online X.X

I used to get it too and never figured out how to fix it, why not try XAMPP instead? :p
 
Back
Top