Page 1 of 1
mssql connectivity with wamp server (top urgent)
Posted: Sat Mar 06, 2010 1:33 am
by sheeba
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)
Posted: Sat Mar 06, 2010 3:13 am
by pbs
Have you configured mssql in wamp server.
Re: mssql connectivity with wamp server (top urgent)
Posted: Fri Mar 12, 2010 12:49 am
by sheeba
but i dont know how to configure MSSql server in Wamp Server. Is it like only enabling the dll files.
Re: mssql connectivity with wamp server (top urgent)
Posted: Fri Mar 12, 2010 2:29 pm
by Brian Swan
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
Re: mssql connectivity with wamp server (top urgent)
Posted: Mon Mar 15, 2010 12:22 am
by sheeba
i have tried all these things. but when start my wamp server an error msg comes like unable to load the php_mssql.dll
Re: mssql connectivity with wamp server (top urgent)
Posted: Mon Mar 15, 2010 2:15 pm
by iamroming
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
Re: mssql connectivity with wamp server (top urgent)
Posted: Thu Sep 29, 2011 6:11 am
by rac
i also have the same problem. I have tried everything but still unable to make a connection with mssql database.