QSYSWRK subsystem includes an autostart entry (ZSVRIPLD jobd)for the Zend Server subsystem start. Here are the steps In order to control the Zend Server process:
1. Remove Zend Server autostart entry from the QSYSWRK subsystem description
2. Create a CL program to start Zend Server processes. Here is a sample code which will start all Zend Server processes
- Code: Select all
ADDLIBLE LIB(ZENDSVR)
STRSBS SBSD(ZENDSVR) /*Starts Zend Server PHP Toolkit daemons in ZENDSVR subsystem */
STRTCPSVR SERVER(*HTTP) HTTPSVR(ZENDSVR) /* Starts Apache processes in QHTTPSVR subsystem*/