Skip to main content

Developing PHP Applications for IBM Data Servers

An IBM Redbooks publication

Note: This is publication is now archived. For reference only.


Published on 19 May 2006, updated 18 July 2007

  1. .PDF (5.6 MB)

Share this page:   

ISBN-10: 0738497460
ISBN-13: 9780738497464
IBM Form #: SG24-7218-00

Authors: Whei-Jen Chen, Holger Kirstein, Daniel Krook, Kiran H Nair and Piotr Pietrzak

    menu icon


    PHP is one of the world's most popular programming languages for building dynamic data-driven Web applications, and IBM data serv­ers store a majority of the world's data -- combining these two technologies is a natural step for any Web developer.

    This IBM Redbooks publication 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.

    We describe the installation and configuration details for setting up the IBM data servers and Apache Web application server for PHP applications. We include Zend Core for IBM, Zend Studio installation, and configuration.

    In addition, we discuss the process of porting PHP applications from MySQL 5 to DB2 UDB V8.2.

    Table of Contents

    Chapter 1. Technology overview

    Chapter 2. Sample scenario description

    Chapter 3. Zend installation and configuration

    Chapter 4. PHP application development with DB2

    Chapter 5. PHP applications with Informix database servers

    Chapter 6. Port PHP applications from MySQL V5 to DB2 UDB V8.2

    Appendix A. An introduction to Service Data Objects for PHP


    Others who read this also read