The following was posted at http://www.php.net/manual/function.mssql-connect.php:
I have finally set up PHP 4.0 with Apache in linux with sybase to connect to MSSQL Server 7.0.. I compiled php like this:
I installed the 3 sybase rpms from http://linux.sybase.com/
Then I compiled PHP like this:
./configure --with-apache=../apache_1.3.12 --with-sybase=/opt/sybase-11.9.2/
And I edited /usr/local/lib/php.ini, there is a section about sybase, I modified:
sybase.interface_file = "/opt/sybase-11.9.2/interfaces"
And last mi /opt/sybase-11.9.2/interfaces file is like this:
misql_HOST
query tcp ether 192.168.0.2 1433
And It worked GREAT!!!!!!.
luciano@n4w.com.ar
13-Jul-2000 11:44
I have finally set up PHP 4.0 with Apache in linux with sybase to connect to MSSQL Server 7.0.. I compiled php like this:
I installed the 3 sybase rpms from http://linux.sybase.com/
Then I compiled PHP like this:
./configure --with-apache=../apache_1.3.12 --with-sybase=/opt/sybase-11.9.2/
And I edited /usr/local/lib/php.ini, there is a section about sybase, I modified:
sybase.interface_file = "/opt/sybase-11.9.2/interfaces"
And last mi /opt/sybase-11.9.2/interfaces file is like this:
misql_HOST
query tcp ether 192.168.0.2 1433
And It worked GREAT!!!!!!.
Luciano Ramos