This IBM Redbook provides lots of information for developers, including code samples for creating PHP applications with DB2, Informix Dynamic Server (IDS), and Cloudscape.
We use the latest PHP data access extensions including: PHP Data Objects (PDO) and the native ibm_db2 extension for PHP.