Re: Problem with W2K, PHP 4.02 and SYBASE
| From: | Carlo Borreo | Date: | Thu, 28 Jun 2001 09:55:11 +0000 |
| Subject: | Re: Problem with W2K, PHP 4.02 and SYBASE | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8093@lists.php.net to get a copy of this message | ||
>I know I can get rid of the warning message by excluding warnings
>in the php.ini file. I just included it to show that it seems like php
>manages
>to connect, but then gets disconnected and the script just dies.
>
>I have tested this on Apache 1.3.12 and by just running the PHP executable.
I also answer privately since your message is very old.
For disabling those warning messages, I use:
sybase_min_server_severity (11);
sybase_min_client_severity (11);
in my PHP code, before calling connect or pconnect.
Or, in php.ini you can have these lines:
; Minimum server message severity to display.
sybct.min_server_severity = 11
; Minimum client message severity to display.
sybct.min_client_severity = 11
But the problem is that when I call connect or pconnect, there is a GPF.
This is not related to your problem, but if you can connect to Sybase using
sybase-ct under Windows please let me know.
Regards
Carlo Borreo