Sometimes a customer may prefer to not start up Zend Server automatically on the IBM i at IPL. This article tells how to prevent the automatic startup.
Zend Server for IBM i version 9 or earlier, running on any supported version of IBM i
To prevent automatic start up of Zend Server, please do the following:
Work with *SBSD QSYSWRK and remove the Autostart Job Entry for Zend Server. It should look something like this:
ZS9_STRSBS ZSVRIPLD ZENDPHP7
Version 6,7, or 8:
ZS_STR_SBS ZSVRIPLD ZENDSVR6
ZS_STR_SBS ZSVRIPLD ZENDSVR
The name of the entry may be different, but the job description will be ZSVRIPLD and the library will match your version of Zend Server.
You can remove it with a command similar to this:
RMVAJE SBSD(QSYSWRK) JOB(ZS9_STRSBS)
Remember to use the actual job name that you see on the listing that matches your version of Zend Server.
This entry is also responsible for starting the ZENDPHP7 (or ZENDSVR6 or ZENDSVR) Apache instance. So, in most cases, this should be all you need to do to prevent any start up of Zend Server and the Apache instance. However, if the global default for HTTP Server Autostart is *YES, you will need to set it to *NO for the ZENDPHP7 Apache instance.
To check for global autostart, please PROMPT (use F4 instead of Enter) the following command:
After you look at the Autostart value, use F12 or F3 to exit the command without changing anything.
The first attribute is Autostart. If it is set to *YES, you need to specify that the ZENDSVR6 instance will not autostart. This is done in the IBM Web Administration utility.
If you have not done so, you first need to start up the ADMIN instance of Apache:
STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)
Then you can access the Web Admin at an address like this (substitute your actual IP address for the IBM i, (you do not need the <> characters)):
http://<your IBM i IP address>:2001/HTTPAdmin/
Sign in with a profile that has *ALLOBJ and *IOSYSCFG special authorities.
Under the Manage -> All Servers -> All HTTP Servers tab, click on ZENDPHP7.
This should bring up the ZENDPHP7 instance for management. In the menu to the left, find Server Properties -> General Server Configuration. Under the General Settings tab, the first Directive you should see is Autostart. It is probably set to Global, which means do whatever is set for all servers. Change it to No. Click Apply.