archives
Problem witg PHP and IFX WEB connection
Submitted by aless on Tue, 2008-10-07 19:28. Under: Ask SpokeyHello,
I have a problem - I have a working connection to informix database (Linux system), but only from cli (I can only run scripts from the console -> "php script.php"), when I try to run the exact same script from web, I get this error:
Failed to obtain database handle SQLSTATE=HY000, SQLDriverConnect: -23101 [Informix][Informix ODBC Driver][Informix]Unspecified System Error = -23101
What could be wrong? What can be the difference if I run from web or from CLI?
P.s. My enviroment variables are good - INFORMIXDIR, INFORMIXSERVER... I even put them in httpd.conf - so I see them wh





