Cannot Connect to Sybase in Netscape Web Server

wxdqz

New Member
I am using netscape enterprise server 3.61 and with php4.0.2 on a solaris 2.51 platofmr. I have succesfully compiled a nsapi module of PHP and have no problem parsing php files as well as an additoin of a ldap library to query ldap databases.

However, I have trouble connecting to the sybase databases under the sybase-ct libraries. IT seems that the server was able to see and use the sybase libraries, but it somehow cannot resolve the hostnames of the database servers.

I have checked that the $SYBASE variable and interfaces file have the database alias names, and I have used both the ip adress,port number + alias names in the connection statements, and still to no avail.

(One point to note that is that I need to add the sybase library path to the LD_LIBRARY_PATH of the netscape server start script before I can actually use php with sybase.)

Anyone has any experience on this sybase with netscape servers on php?
 
Back
Top