This can be a common, but very bothersome error message with Sybase (and some other databases) (not just using PHP). I've seen it before using Solaris 2.6 and Sybase 12 also. You need to be very careful about your $SYBASE and related variables, to make sure the web server has them all set right. Also, there may be issues in the exact libs that were built into PHP at compile time, especially the "tli" library (which could be a true PHP compile bug) It may also help looking at:
http://manuals.sybase.com:80/onlinebooks/group-cn/cng1110e/ocerrors/@Generic__BookTextView/6454;nh=1;pt=6454;uf=0? DwebQuery=protocol+driver+failed#X for more hints. Reply if you still have problems and I'll look at my detailed build script tomorrow to see what minor tweaks I made to the build scripts for PHP. Brian On 12 Nov 2001 13:58:15 -0000, [EMAIL PROTECTED] wrote: >From: [EMAIL PROTECTED] >Operating system: Solaris 8 >PHP version: 4.0.6 >PHP Bug Type: Sybase-ct (ctlib) related >Bug description: sybase ct_init fails > >I build apache 1.3.20, Sybase ASE 12 and php 4.0.6 with this >configuration: > > > >./configure --with-apache=/usr/local/sorgenti/apache_1.3.14 > --with-sybase-ct=/database/sybase/OCS-12_0 > > >when the webserver start this is the error: > >Open Client Message: >Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (131) >Message String: ct_init(): network packet layer: internal net library >error: Attempt to load protocol driver failed > >Open Client Message: >Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (131) >Message String: ct_init(): network packet layer: internal net library >error: Attempt to load protocol driver failed >[Mon Nov 12 13:49:33 2001] [notice] Apache/1.3.20 (Unix) PHP/4.0.6 >configured -- resuming normal operations >[Mon Nov 12 13:49:33 2001] [info] Server built: Nov 12 2001 12:56:15 > >The sybase ct_init function don't work. > > > >-- >Edit bug report at: http://bugs.php.net/?id=14030&edit=1 > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]