You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Issue

Sometimes there is a need to restart the ZENDPHP7 (or ZENDSVR6 for versions 6 - 8.5.x) Apache instance on the IBM i.  This article tells how to do it from the 5250 command line.  Doing it this way also provides the opportunity to look into the subsystem and verify that the jobs stop and start as intended.

Environment

Zend Server running on any supported version of IBM i.

Resolution

Versions 9.1.x and higher

From the 5250 command line:

GO ZENDPHP7/ZSVMENU

Use option "11. Stop Apache server instances" 

Use option "3. Work with Zend Server subsystems".  Key "2", and press Enter.  Verify that there are no jobs named "ZENDPHP7" active in this subsystem.  If any are there, use F5 a few times until all of them are gone.  If they will not end within a reasonable time, say 5 minutes or more, please end the jobs using option 4, option(*immed).  When there are no more ZENDPHP7 jobs in the QHTTPSVR subsystem, use F3 to return to the menu.

Use option "5. Start Apache server instances".

Once again, use option "3. Work with Zend Server subsystems".  Key "2", and press Enter.  Verify that there are at least 16 jobs named "ZENDPHP7" active in this subsystem.  If they do not appear right away, use F5 a few times until they are all there. 

Note: If FastCGI has been modified from the default of 10 child processes, there should be 6 plus the number of child process jobs.


Versions 6 - 8.5.x

From the 5250 command line:

GO ZENDSVR6/ZSVMENU

Use option "6. Stop Apache server instances"

Use option "3. Work with Zend Server subsystems". Key "2", and press Enter.  Verify that there are no jobs named "ZENDSVR6" active in this subsystem.  If any are there, use F5 a few times until all of them are gone.  If they will not end within a reasonable time, say 5 minutes or more, please end the jobs using option 4, optiion(*immed).  When there are no more ZENDSVR6 jobs in the QHTTPSVR subsystem, use F3 to return to the menu.

Use option "5. Start Apache server instances".

Once again, use option "3. Work with Zend Server subsystems".  Key "2", and press Enter.  Verify that there are at least 16 jobs named "ZENDSVR6" active in this subsystem.  If they do not appear right away, use F5 a few times until they are all there.  Note: If FastCGI has been modified from the default of 10 child processes, there should be 6 plus the number of child process jobs.

Note: If FastCGI has been modified from the default of 10 child processes, there should be 6 plus the number of child process jobs.


  • No labels