WI400 – Web Interface AS400 » Blog Archive » WI400: Try php 5.6.11 x IBM i

WI400: Try php 5.6.11 x IBM i

It is available for download php stack for IBM i (aka iSeries AS400). The stack has been compiled and tested directly on IBM i.

Installation Instructions:

1) Log on to the IBM i
2) Create the SAVF files in the QGPL library :
– CRTSAVF FILE(QGPL/PHPALL)
3) Transfer PHPAll.SAVF file to you IBM i
3) Restore objects:
– RSTOBJ OBJ(*ALL) SAVLIB(QTEMP) DEV(*SAVF) SAVF(QGPL/PHPALL)

4) Run install programm:
– CALL PGM(QTEMP/RSTPKG)
Directory been created:
/usr/local/php_5_6_11
/www/php_5_6_11
Meber/File added
PHP_5_6_11 in QATMHINSTC, lible QUSRSYS
HTTP instance Name PHP_5_6_11

After install PHP_5_6_11 is automatically started

Listen PORT: 8400
PHP Version= 5.6.11
Config File: /www/php_5_6_11/conf
Php ini: /usr/local/php_5_6_11/etc
For test: http://:8400/phpinfo.php
Document Root: /www/php_5_6_11/htdocs

[Opzional]
/usr/local/Zend/Apache2 for PHP as Apache Module

To Stop Apache (PHP as MODULE)
/usr/local/Zend/apache2/bin/apachectl stop
To Start Apache
export LIBPATH=/usr/local/php_5_6_11/lib
/usr/local/Zend/apache2/bin/apachectl restart

Download PHP_5_6_11_BETA_1 (1076)

For any problems or for information
contattateci!