Help!!!
Connecting Linux PHP_APACHE with MSSQL2k win2K Adv.Srv.
Hi there!
I've seen the info. in http://www.phpbuilder.com/columns/alberto20000919.php3 and still... "Unable to connect"
I'd like your help with this:
I've got PHP Version 4.0.5 in Linux, with Apache, and I've just installed Sybase 11.9.2 with this components:
sybase-common-11.9.2-3
sybase-openclient-11.1.1-3
sybase-ase-11.9.2-3
sybase-doc-11.9.2-1
sybase-monserver-11.9.2-3
Here's my Problem: I need to connect to MSSQL Server2000 with Win2000 Advanced Server.
I've compiled PHP like this:
./configure (...)--enable-track-vars --with-intbrbase=shared --with-ldap --with-imap --with-mysql --with-sybase-ct=/opt/sybase-11.9.2
And I've also edited php.ini,like this :
sybase.interface_file = "/opt/sybase-11.9.2/interfaces"
my /opt/sybase-11.9.2/interfaces file is like this:
dblinkname
query tcp eth1 10.0.0.12 1433
master tcp eth1 10.0.0.12 1433
and this is what I get:
"Warning: Sybase: Unable to connect in (...)xpto.inc.php on line 131"
Thank you for your help
Edgar John