PHP under Sun Solaris Server / MS SQL

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
darksteel21
Forum Newbie
Posts: 1
Joined: Tue Dec 28, 2010 9:51 pm

PHP under Sun Solaris Server / MS SQL

Post by darksteel21 »

Hi All,

i am trying to connect a php application (under Sun Solaris server) to a MS SQL Server. I succesfully installed FreeTDS on our server and i could connect and view database and tables on a MS SQL Server with this commands :
/usr/local/freetds/bin/tsql -S <ip of our MS SQL server> -U <User SQL> -P<password>
And also i recompiled my php with : --with-mssql configuration. And restarted APACHE.
But when i run my php application on a browser i encounter this message : Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server:
What seems to be the problem?did i overlooked some php settings or configurations?

Mark Tan
Post Reply