xampp and mssql

Problems with the Linux version of XAMPP, questions, comments, and anything related.

xampp and mssql

Postby jupela » 23. May 2006 13:57

I have installed the xampp and I need to connect through php to a SqlServer database, but I have some errors.
The php script is:
mssql_connect ( 'servername', 'user', 'password');

And the error is:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: servername in /opt/lampp/htdocs/prueba_php/prueba_sql.php on line 2

Have I to configurate any file? Someone can help me?

Posts: 15
Joined: 16. May 2006 12:35

Postby jupela » 26. May 2006 08:51

The solution is that it's necessary to configure freetds.conf and the 'servername' in the php script has to put the same name that in the freetds.conf.

Thank you Oswald.
Posts: 15
Joined: 16. May 2006 12:35

Postby albatroz » 15. February 2007 18:31

As I see, XAMPP for Linux also include support for MSSQL
Posts: 4
Joined: 26. January 2007 22:43

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests