Issue
Zend Server for IBM i installation provides an autostart job entry in susbsystem QSYSWRK to automatically start Zend Server at system start up, and menu options to allow for manually stopping and starting Zend Server. The commands in this article can be used to create custom programs to start or stop Zend Server at any desired time. The most common example would be a backup procedure that runs when the system is not in a restricted state.
Environment
Zend Server for IBM i Version 6 or higher running on any supported version of IBM i
Resolution
Versions Zend Server 9.1.x, 2018.0.x, 2019.0.x and higher
These are the commands to start and stop Zend Server. They correspond to options 1 and 2 on the Zend Server Service Management Menu. They will start and stop both the ZENDPHP& subsystem and the ZENDPHP7 Apache instance in subsystem QHTTPSVR.
Please Note: These commands must be run with a user profile possessing the *ALLOBJ and *JOBCTL special authorities.
To start Zend Server:
To end Zend Server:
Versions 6, 7, or 8.5.x
These are the commands to start and stop Zend Server. They correspond to options 1 and 2 on the Zend Server Service Management Menu. They will start and stop both the ZENDSVR6 subsystem and the ZENDSVR6 Apache instance in subsystem QHTTPSVR.
Please Note: These commands must be run with a user profile possessing the *ALLOBJ and *JOBCTL special authorities.
To start Zend Server:
To end Zend Server:
An alternative is to submit the commands:
Versions Zend Server 9.1.x, 2018.0.x, 2019.0.x and higher
To start Zend Server:
To end Zend Server:
Version 6, 7, or 8.5.x
To start Zend Server:
To end Zend Server:
One way to start at startup is to put the commands to start the ZENDPHP7 or ZENDSVR6 subsystem in the start up program defined by the QSTRUPPGM system value.