PHP 4.0 Bug #7881 Updated: sybase-ct does not report server errors
| From: | joey@php.net | Date: | Tue, 21 Nov 2000 21:44:45 +0000 |
| Subject: | PHP 4.0 Bug #7881 Updated: sybase-ct does not report server errors | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38856@lists.php.net to get a copy of this message | ||
ID: 7881
Updated by: joey
Reported By: alex@quad.com.ar
Status: Open
Bug Type: MSSQL related
Assigned To:
Comments:
Reclassify: MSSQL related (was Sybase CT Related)
Previous Comments:
---------------------------------------------------------------------------
[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