Connect your PHP applications to resources on your IBM i (evolved from AS/400, iSeries) using the open source (free!) PHP Toolkit for IBM i.

Jointly supported by Zend and IBM and co-developed by Alan Seiden and IBM’s Tony Cairns, the toolkit is sometimes known as the XML Toolkit because the PHP front end and the XMLSERVICE RPG back end communicate internally via XML.

PHP Toolkit / XML Service Downloads

Download the Toolkit

This download link takes you to the Zend web site, where the Toolkit is included with all Zend Server downloads, Releases 5.6 and higher.  Just scroll down the page to download older versions of Zend Server.

Toolkit Headquarters

Hosted on the Young i Professionals site, an open source wonderland for IBM i. Log in to access the following downloads and resources:

Official Documentation

The official documentation can be found on the Zend web site.

Tips on Using PHP Toolkit for IBM i

New PHP Toolkit: a Perfect Match for RPG, an article by Alan Seiden.

***For the most complete, accurate information in one place about using the PHP Toolkit, we recommend Alan’s presentation, Bring RPG/COBOL business logic to the web with the PHP Toolkit (PDF format).

 

7 replies
  1. Klaus-Peter Luttkus
    Klaus-Peter Luttkus says:

    Hello Alan, last year I attended one of your presentations on PHP on IBM i. Very interesting. I now have a problem with the API Toolkit, and so farI didn’t find any answers. Is there a way to declare parameters für the PgmCall method by way of using PCML? A short answer would be appreciated.

    Regards from Germany
    Peter

    Reply
  2. Alan Seiden
    Alan Seiden says:

    Hi, Peter,

    I’m working on a toolkit update to support PCML with PgmCall. Do you use PCML heavily?

    PCML is currently supported only by the compatibility wrapper [CW], but because new projects should use the new toolkit API (PgmCall, etc.) instead of CW, I intend to add PCML support for PgmCall.

    Tell me more about your requirements if you would like, perhaps through my contact page.

    Best regards,
    Alan

    Reply
  3. Praveen
    Praveen says:

    I am trying to connect ibm iseries using zend framework 2 through localhost. I have configured database details in global.php now need to call stored procedure using database object. I have gone through the questions answered by you on stackoverflow but I am unable to do anything and I have blocked.
    Can please help me in this,

    Reply
  4. Avrohom Notik
    Avrohom Notik says:

    If You have problems with passing parameters, just write to database file, and the target program will read it. Just as simple as that.

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *