After updating, Apache start up fails on IBM i, PHP keeps restarting

Follow

Issue

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.

Note: If this happens when there has not been an update, it may be damaged shared memory:

Environment

Any version of Zend Server for IBM i, running on any supported version of IBM i.

Resolution

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.

Have more questions? Submit a request

Comments

Powered by Zendesk