When connect to the Dynamic Informix Server, got this error log in apache's error log file:
[Wed Dec 30 12:44:11 2009] [error] [client 1.1.1.1] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE=HY000, SQLDriverConnect: -11005 [Informix][Informix ODBC Driver]Unspecified System Error = -11005.' in /opt/webroot/informix.php:5\nStack trace:\n#0 /opt/webroot/informix.php(5): PDO->__construct('informix:host=l...', 'username', 'password')\n#1 {main}\n thrown in /opt/webroot/informix.php on line 5
you should export correct INFORMIXDIR enviroment variable for root user and restart the web server.
and another error:
[Wed Dec 30 13:10:10 2009] [error] [client 1.1.1.1] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE=01S00, SQLDriverConnect: -11005 [Informix][Informix ODBC Driver]Invalid connection string attribute.' in /opt/webroot/informix.php:5\nStack trace:\n#0 /opt/webroot/informix.php(5): PDO->__construct('informix:host=l...', 'username', 'password')\n#1 {main}\n thrown in /opt/webroot/informix.php on line 5
you should let your connection string in one line, without line feed.