Problem witg PHP and IFX WEB connection
Hello,
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 when I run phpinfo script.
Hi Aless, Can you see if
Hi Aless,
Can you see if there is difference between the DBLANG, CLIENT_LOCALE and DB_LOCALE settings in phpinfo and the console?





