php+sybase installing problem???

admin

Administrator
Staff member
Env:
SunOS5.7,php3.0.15,apache1.3.9,Sybase SQL Server/11.0.1/P/Sun_svr4/
Operating:
Compiling ok and set interfaces in php3.ini.
Now php work ok,phpinfo() also ok.
but can't connect to DB,always return 0,
Error like:Warning: 0 is not a Sybase link index ......
And I traced into phpdir/functions/sybase.c
Error occursed in:
if ((sybase.link=dbopen(sybase.login,host))==FAIL)
The usr/passwd is right ,and I don't know why can't dbopen().
Need any configuration in php3.ini???
 
Back
Top