This article is now available in our new knowledge base: After updating, Apache start up fails on IBM i, PHP keeps restarting
After an update, Apache fails to start up. The ZFCGI job is started, but the php-cgi.bin job below it keeps crashing and restarting.
Any version of Zend Server for IBM i, running on any supported version of IBM i.
This usually happens because the php-cgi.bin binary file is not updated successfully. This causes an old version of PHP to attempt to load, which will cause the Apache child job to fail.
First, remove the update using the RMVPTF command as shown in the installation instructions that came in the installation package.
Next, with Zend Server still stopped, verify no jobs have a lock on php-cgi.bin:
Check for locks on PHP files prior to upgrading Zend Server for IBM i
After making sure there are no locks, reapply the update using the APYPTF command as shown in the instructions.