PHP under Sun Solaris Server / MS SQL
Posted: Tue Dec 28, 2010 10:17 pm
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
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