IBM iSeries PHP Installation and Configuration Guide

IBM Redpaper explaining how to download, compile, install, and configure PHP 4.3.0 or 4.2.2 on an iSeries server using OS/400 PASE and Apache.


IBM iSeries PHP Installation and Configuration Guide - cover page
Brand
IBM
Category
Programming
Document type
Installation Guide
Language
English
Pages
20
File format
PDF
File size
548 KB
Published
11 November, 2026
Updated
11 November, 2026
MD5 checksum
145EAFC59B6AC6CBB8909D784CF2E898

About this manual

This IBM Redpaper describes bringing PHP to an IBM iSeries server. It explains the PHP engine as an open-source CGI program running in OS/400 Portable Application Solutions Environment (PASE) with the HTTP Server powered by Apache, and it covers installing PHP versions 4.3.0 and 4.2.2.

The document includes prerequisites, Apache configuration entries for PHP files, a comparison of PHP in PASE versus a Linux logical partition, and examples of HTML forms and DB2 queries. It also notes that IBM does not support the open-source PHP engine or PHP scripts, while supporting PASE, VisualAge C++ compilers, and Apache CGI support.

What's inside

  • Programming with PHP on the iSeries server
  • What is PHP?
  • Why PHP?
  • A code example
  • PHP on iSeries
  • PHP as a CGI-BIN program
  • Availability and compatibility
  • Prerequisites
  • Creating a sample database
  • Beware of PHP bugs

Specifications

Required OS/400 releaseV5R1 or newer
PHP versions covered4.3.0 and 4.2.2
Runtime environmentOS/400 PASE
Web serverHTTP Server (powered by Apache)
PHP engine form in PASECGI-bin process only

Frequently asked questions

Which PHP versions does this Redpaper cover?

It explains installation of PHP 4.3.0 and the older version 4.2.2.

What OS/400 release is required to install PHP on an iSeries server?

The document says you need V5R1 or later and must have PASE installed.

Does IBM support the open-source PHP engine on iSeries?

No. The document states that PHP is not supported on the iSeries server by IBM.

How does Apache recognize PHP files?

The Web server configuration file must include script aliases for PHP, using ScriptAlias, AddType and Action entries.

Download PDF (548 KB)

More IBM Manuals


View all IBM manuals →