View Single Post
Old 11-15-2012, 12:26 PM   PM User | #1
rmglez
New to the CF scene

 
Join Date: Nov 2012
Location: Spain
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
rmglez is an unknown quantity at this point
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?
rmglez is offline   Reply With Quote