we are running php based applications on Gentoo Linux with apache and IBM
(running on another server). Under apache 1.3.28 and php 4.1.2 everything
works fine,
but when we switch to php 4.2.0 (or higher, I have tried 4.2.3 and 4.3.3,
nothing works. I wrote a very simple test script like this:
$conn = odbc_connect($dsn,$user,$pw);
$schema = odbc_exec($conn,"SET CURRENT SCHEMA = MAIN");
$result = odbc_exec($conn,"SELECT * FROM CLIENTS");

with php 4.1.2 we get the right output, under php >= 4.2.0 the result is "No
Rows found".
Nothing has changed, same database, same script, same computer. 

unixODBC is installed (latest gentoo Version: 2.0.6) and php is compiled
./configure --without-mysql --with-ibm-db2=/usr/IBMdb2/V7.1/

It does not help to build php as dynamic module (with apxs) or to include
We have to use DB2 Client V7.1, because we run a DB2 7 Server and problems
occured with 
the Client V8.

Can anyone imagine why the php upgrade won't work ? I have searched on
google a lot, but
I could not found our problem.



Reply via email to