Post by Fernando NunesPost by Kristof BenesWe havent and theres no examples or documentation to be found.
Someone in this newsgroup claimed to have figured it out last month
but didnt give any examples. We would like to use Informix with Zend
Framework.
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=228754&tstart=0
http://publib.boulder.ibm.com/infocenter/idshelp/v115/topic/com.ibm.conn.doc/php.htm
http://publib.boulder.ibm.com/infocenter/idshelp/v115/topic/com.ibm.admin.doc/ids_admin_0205.htm
If you can't do it, try to tell us what you did and what you got...
I think I never tried it, but it would be a very good reason to do so :)
Regards.
Okay, so I've got DRDA installed on the remote machine, and I tried this
(changed the ip address and password):
$cn = new PDO("ibm:DRIVER={IBM DB2 ODBC
DRIVER};DATABASE=fds_xdev;HOSTNAME=123.456.789.01;PORT=1538;PROTOCOL=TCPIP;","chris","******");
And I get:
PHP Fatal error: Uncaught exception 'PDOException' with message
'SQLSTATE=, SQLAllocHandle: 0 ' in /home/chris/test.php:3