Bug #7881 Updated: sybase-ct does not report server errors
| From: | joey@php.net | Date: | Sun, 01 Jul 2001 00:18:56 +0000 |
| Subject: | Bug #7881 Updated: sybase-ct does not report server errors | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58582@lists.php.net to get a copy of this message | ||
ID: 7881
Updated by: joey
Reported By: alex@quad.com.ar
Old-Status: Open
Status: Closed
Bug Type: Sybase-ct (ctlib) related
Operating system:
PHP Version: 4.0.3pl1
Assigned To:
Comments:
#1: Use the MSSQL extension, not Sybase-ct.
#2: Try a newer version of PHP.
Since this bug belongs in neither the sybase-ct
area, nor the mssql, I'm closing it.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-30 15:02:25] fmk@php.net
This is not related to the mssql extension. You are using the sybase extension.
---------------------------------------------------------------------------
[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