Pages

Saturday, December 24, 2011

mssql_connect(): unable to connect to server in xampp

xampp

Have you ever get such error when trying to access mssql server in another server except localhost with php using xampp??..
If so you need to this step below :
  1. download ntwdblib.dll.zip
  2. extract that file
  3. copy ntwdlib.dll to both folders 'xampp/php' and 'xampp/apache/bin'
  4. restart your apache web server

2 comments:

  1. Hi, I follow the 4 steps but still not working. Can you help me please? I'm using xamp 1.8.1.

    Thanks.-

    ReplyDelete
  2. These steps working for xampp version 1.7.1. For version higher than 1.7.1 i haven't tried whether it is working or not.

    ReplyDelete

Don't Forget To Join Our Community
×
Widget