HOME

FORUM

UPLOAD SOURCE

RPGLE/RPG

CLLE

SQLRPGLE

DDS

API

OTHER

JAVA

IFS

HTML

JAVA SCRIPT

PHP

MYSQL

XML

OLE DB





Iseries and PHP

    Ok ... First off I did get PHP loaded on an Iseries 820 running V5R2. But thats as far as I took it. I will attempt to provide as much information as I am able and hope that others will contribute later.

    php code to generate below screen > print phpinfo();


    Okay first I recommend you download the IBM redbook for setting up PHP on Iseries.
    so here it is download PHP RedBook
    Next I would say download PHP for the Iseries
    php-4.3.3-iseriespase

    Here is a link to IBM's redbook on PASE (Its free if at V5R2 or higher)
    IBM PASE redbook

    Finally IBM redpaper Bringing PHP to Your IBM iSeries Server
    Bringing PHP to Your IBM iSeries Server

    To install PHP from the downloaded binary package, copy the file to the iSeries IFS, decompress the file using gzip or java jar command. Then issue command: tar -xvf php-4.3.1-iseriespase.tar or tar -xvf php-4.3.3-iseriespase.tar in a PASE terminal session (CALL QP2TERM). This will install PHP into /QOpenSys/php Once completed configure your IBM Apache webserver as discussed in the IBM Redpaper. You may enter gui setup of the Apache server by entering the ip of your iseries in browser and direct it to port 2001

    See below: You will need *ISOSYSCFG special authority to configure server.

    Notice behind the login panel is a functional website running on
    an Iseries using not a single commercial software product.



    You may see more detailed step by step instructions from http://www.mcind.com/php/ click here It was a great help to me. Thanks to Rob Ward.



About Code400.com | resume | Search | Site Map | Suggestions
© Copyright 2003-2008 Code400.com



Monday May 12, 2008 @ 8:07 AM