mssql connectivity with wamp server (top urgent)
Moderator: General Moderators
mssql connectivity with wamp server (top urgent)
hi, i am trying to connect with mssql server using wamp server. but it is saying that fatal error : Call to undefined function mssql_connect() . Pls any one tell me how to do it
Re: mssql connectivity with wamp server (top urgent)
Have you configured mssql in wamp server.
Re: mssql connectivity with wamp server (top urgent)
but i dont know how to configure MSSql server in Wamp Server. Is it like only enabling the dll files.
-
Brian Swan
- Forum Newbie
- Posts: 17
- Joined: Thu Jan 14, 2010 11:56 am
Re: mssql connectivity with wamp server (top urgent)
Based on the error you are getting, it looks like the mssql extension isn't loading.
1. Put the php_mssql.dll file in your extension directory.
2. Make sure extension is enabled in your php.ini file (extension=php_mssql.dll).
3. The mssql extension requires the ntwdblib.dll file. You can download this for free...a quick internet search will turn up a few downloads. Put this file in you PHP directory.
4. Re-start your Web Server.
If you are running on Windows, you can use the driver produced my Microsoft...more info here: http://blogs.msdn.com/brian_swan/archiv ... r-php.aspx
Hope that helps.
-Brian
1. Put the php_mssql.dll file in your extension directory.
2. Make sure extension is enabled in your php.ini file (extension=php_mssql.dll).
3. The mssql extension requires the ntwdblib.dll file. You can download this for free...a quick internet search will turn up a few downloads. Put this file in you PHP directory.
4. Re-start your Web Server.
If you are running on Windows, you can use the driver produced my Microsoft...more info here: http://blogs.msdn.com/brian_swan/archiv ... r-php.aspx
Hope that helps.
-Brian
Re: mssql connectivity with wamp server (top urgent)
i have tried all these things. but when start my wamp server an error msg comes like unable to load the php_mssql.dll
-
iamroming
- Forum Commoner
- Posts: 27
- Joined: Sun Jan 31, 2010 4:02 am
- Location: Hyderabad, India
- Contact:
Re: mssql connectivity with wamp server (top urgent)
just check the extensions in this file
phpforapache.ini ii the apcache/bin folder
because the phpforapache file in the php bin gets copied into the php.ini in the apache bin
this might help you
phpforapache.ini ii the apcache/bin folder
because the phpforapache file in the php bin gets copied into the php.ini in the apache bin
this might help you
Re: mssql connectivity with wamp server (top urgent)
i also have the same problem. I have tried everything but still unable to make a connection with mssql database.