|
PHP + Apache + DB2 slow odbc_connect
Hi,
I'm using a script with odbc_connect in order to connect to a remote DB2 instance. When the script is executed from command line everything works as expected, but when the same script is executed using Apache web server the call to odbc_connect is extremely slow.
I've compared the php.ini for CLI and for Apache and the configuration of memory and ODBC are the same in both files.
I'm using iSeries driver, PHP 5 and Apache 2.
Does anybody knows how to solve this annoying problem?
|