PHP: Zend for i5/OS

Book description

This IBM Redbooks publication will help you install, configure, and become productive with PHP on System i using Zend Core for i5/OS and Zend Platform for i5/OS. If you are evaluating PHP, this book will also help by providing background information and comparisons with other tools.

Some of the topics addressed include:
- Installation, configuration and administration
- Application development
- Strategies to access DB2 for i5/OS and MySQL data from your PHP applications
- Security, performance, troubleshooting, and more

Emphasis has been placed on highlighting i5/OS-specific functions and features in this book rather than those generic to PHP on all platforms.

Table of contents

  1. Notices
    1. Trademarks
  2. Preface
    1. The team that wrote this book
    2. Become a published author
    3. Comments welcome
  3. Chapter 1: Welcome to PHP on i5/OS!
    1. Welcome!
      1. IBM and Zend Core
      2. Zend Core for IBM
    2. Previous support of PHP on i5/OS
    3. Current support of PHP on i5/OS
      1. Zend Core for i5/OS
      2. Zend Studio for i5/OS
      3. Zend Platform for i5/OS
    4. How i5 implementation differs from Zend Core
    5. Benefit to developers and customers
  4. Chapter 2: Overview of PHP
    1. History of PHP
    2. Why PHP?
    3. Who is using PHP?
    4. Quick comparison to Java
  5. Chapter 3: Administration
    1. Packaging
    2. Installing Zend Core for i5/OS
      1. Before you begin
      2. Installing the Zend Core for i5/OS product
      3. Starting the Zend Core for i5/OS environment
      4. Verifying the installation
      5. Common installation errors
      6. Reinstalling Zend Core for i5/OS
      7. Uninstalling Zend Core for i5/OS
      8. Product structure
      9. Runtime environment
    3. Configuring Zend Core for i5/OS
      1. Administration tools
    4. Configuring multiple instances
      1. Multiple i5/OS Apache instances, one PHP server
      2. Multiple i5/OS Apache instances, multiple PHP servers
      3. One i5/OS Apache instance, multiple PHP servers
    5. Backing up Zend Core for i5/OS
  6. Chapter 4: Application development
    1. PHP and Web development
      1. Quick Web example
    2. PHP as a command-line scripting language
      1. PHP interactive mode
      2. PHP one-line scripts (popularly called oneliners)
      3. PHP and scripting
      4. Calling PHP from CL
    3. Development tools
      1. Zend Studio for i5/OS
      2. Eclipse
      3. NuSphere PhpED
      4. Maguma
    4. i5 PHP API Toolkit functions
      1. Main functions
    5. XML support
    6. XML-RPC support
    7. SOAP support
  7. Chapter 5: Database access
    1. DB2
      1. DB2 access options
      2. Performance considerations
      3. Troubleshooting
    2. MySQL
      1. MySQL architecture
      2. MySQL directory structure
      3. Installation and configuration
      4. Access options
    3. Migrating from MySQL to DB2
    4. When to choose MySQL or DB2
  8. Chapter 6: Java Bridge support
    1. Overview
    2. Java Bridge configuration
      1. Main configuration file: javamw.rc
      2. Java Bridge status
    3. Sample programs
      1. Simple test program
      2. IBM Toolbox for Java and PHP
    4. Troubleshooting tips
      1. php_error_log file
      2. var_dump() function
  9. Chapter 7: Security
    1. Security considerations
      1. SSL configuration
      2. Access to directory structure
      3. Reverse proxy
      4. User profiles
      5. More information
  10. Chapter 8: Performance
    1. Performance tuning
      1. Hardware
      2. i5/OS
      3. i5/OS PASE
      4. DB2 for i5/OS
      5. Apache
      6. Zend Core for i5/OS
  11. Chapter 9: Troubleshooting
    1. Before you start
    2. Troubleshooting the browser
    3. Troubleshooting the Web servers
    4. Troubleshooting Zend Core
    5. Troubleshooting application resources
      1. Working with object authorities
      2. Working with i5/OS job logs
      3. Working with spooled files
      4. Working with the history log
      5. Working with message queues
      6. Using a debugger
      7. Logging Toolkit activity
  12. Chapter 10: Globalization
    1. Overview
      1. PHP internationalization support
      2. Layers on i5/OS
    2. Globalization configuration (single-byte)
      1. i5/OS
      2. i5/OS PASE
      3. PHP
      4. Apache
      5. DB2 for i5/OS
  13. Chapter 11: Advanced development topics
    1. Implementation of templates
    2. Model View Controller (MVC) design and frameworks
    3. Tips and tricks
      1. Accessing system environment variables using predefined arrays
      2. Reverse proxy issues
  14. Related publications
    1. IBM Redbooks
    2. Other publications
    3. Online resources
    4. How to get IBM Redbooks
    5. Help from IBM
  15. Abbreviations and acronyms
  16. Index
  17. Back cover

Product information

  • Title: PHP: Zend for i5/OS
  • Author(s): Gary L. Mullen-Schultz, Melissa Anderson, Vlatko Kosturjak
  • Release date: January 2007
  • Publisher(s): IBM Redbooks
  • ISBN: None