Bug #7881 Updated: sybase-ct does not report server errors

From: Date: Sat, 30 Jun 2001 19:02:25 +0000
Subject: Bug #7881 Updated: sybase-ct does not report server errors
Groups: php.dev 
Request: Send a blank email to php-dev+get-58546@lists.php.net to get a copy of this message
ID: 7881 Updated by: fmk Reported By: alex@quad.com.ar Status: Open Old-Bug Type: MSSQL related Bug Type: Sybase-ct (ctlib) related Operating system: PHP Version: 4.0.3pl1 Assigned To: Comments: This is not related to the mssql extension. You are using the sybase extension. Previous Comments: --------------------------------------------------------------------------- [2000-11-21 16:44:45] joey@php.net Reclassify: MSSQL related (was Sybase CT Related) --------------------------------------------------------------------------- [2000-11-19 21:39:13] alex@quad.com.ar ok, this is my php configure line: ./configure --with-apxs=/www/bin/apxs --with-sybase-ct=/opt/sybase-11.9.2 --enable-track-vars I've got these 3 packages installed on /opt/sybase-11.9.2 sybase-ase-11.9.2-3.i386.rpm sybase-common-11.9.2-3.i386.rpm sybase-openclient-11.1.1-3.i386.rpm I can query a MSSQL 7.0 server + SP2 applied with no problems, but if I ever misstype a query php won't report the sql server error and hangs the script forever. I strace'd apache and here are part of the results: (the cmd used was: strace -s 128 /www/bin/httpd -X) connect(6, {sin_family=AF_INET, sin_port=htons(1433), sin_addr=inet_addr("200.32.xxx.xxx")}}, 16) = 0 ioctl(6, FIONBIO, [1]) = 0 ioctl(6, FIOASYNC, [0]) = 0 setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 setsockopt(6, IPPROTO_TCP1, [1], 4) = 0 ... some more not meaningfull sys calls..... send(6, "11

« previous php.dev (#58546) next »