Bug #17336 Updated: sybase_query fails connecting to a sybase Application Server

From: Date: Wed, 22 May 2002 02:53:36 +0000
Subject: Bug #17336 Updated: sybase_query fails connecting to a sybase Application Server
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8142@lists.php.net to get a copy of this message
ID: 17336 Updated by: sniper@php.net -Summary: mysql_query fails connecting to a sybase Application Server Reported By: mt@ciao.com Status: Open Bug Type: Sybase-ct (ctlib) related Operating System: Linux 2.4.17 RedHat 7.2 PHP Version: 4.1.2 Previous Comments: ------------------------------------------------------------------------ [2002-05-21 11:41:50] mt@ciao.com The Problem is with Sybase's "Jaguar CTS component transaction server". On our application we use it to store session data between serveral web-servers. It's running a simple java-application. Yesterday i upgraded to 4.2.1 on a test Server. Everything worked fine on 4.1.2. Code example: $server = sybase_connect(SERVER,USER,PASS); sybase_query("exec PhpSession.Manager_de.setSessionData '0146119b4fb52b5e408243a37c118720cb','TEST'",$server); $query = sybase_query("exec PhpSession.Manager_de.getSessionData '0146119b4fb52b5e408243a37c118720cb'",$server); if(!$query) echo "QUERY FAILED"; You see that our Application is very easy: Just set or get Session-Data. This Code Sample works on all Live-Servers and on the Test Server running 4.1.2. I tried both: connect and pconnect, but 4.2.1 doesn't work. It even doesn't matter which Query i use, they all fail, without Error-Message. Furthermore, the normal sybase DB-Connections are working without Problems on 4.2.1. It's just this Application-Server connection which fails. I use the Sybase client 11.9.2 and Apache 1.3.24 (I tried 1.3.23, too). Thx ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17336&edit=1

« previous php.bugs (#8142) next »