Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Zend Server for IBM i Version 6 or higher running on any supported version of IBM i

Resolution

Versions Zend Server

...

2020, 2021, 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 ZENDPHP74 subsystem and the ZENDPHP74 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:

Info
iconfalse
ADDLIBLE ZENDPHP74
CALL ZENDPHP74/ZSTRSBS

To end Zend Server:

Info
iconfalse
ADDLIBLE ZENDPHP74
CALL ZENDPHP74/ZENDSBS

Versions Zend Server 9, 2018, 2019

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 ZENDPHP7subsystem and the ZENDPHP7 Apache instance in subsystem QHTTPSVR.

...

Info
iconfalse
ADDLIBLE ZENDPHP7
CALL ZENDPHP7/ZENDSBS

Versions 6, 7, or 8

...


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.

...

An alternative is to submit the commands:

Versions Zend Server

...

2020, 2021, and higher

To start Zend Server:

Info
iconfalse
SBMJOB CMD(CALL PGM(ZENDPHP74/ZSTRSBS)) +
JOB(START_ZSV) JOBD(ZENDPHP74/ZSVR_JOBD) +
JOBQ(QGPL/QBATCH)

To end Zend Server:

Info
iconfalse
SBMJOB CMD(CALL PGM(ZENDPHP74/ZENDSBS)) +
JOB(STOP_ZSV) JOBD(ZENDPHP74/ZSVR_JOBD) +
JOBQ(QGPL/QBATCH)

Versions Zend Server 9, 2018, 2019

To start Zend Server:

Info
iconfalse
SBMJOB CMD(CALL PGM(ZENDPHP7/ZSTRSBS)) +
JOB(START_ZSV) JOBD(ZENDPHP7/ZSVR_JOBD) +
JOBQ(QGPL/QBATCH)

...

Info
iconfalse
SBMJOB CMD(CALL PGM(ZENDPHP7/ZENDSBS)) +
JOB(STOP_ZSV) JOBD(ZENDPHP7/ZSVR_JOBD) +
JOBQ(QGPL/QBATCH)

Version 6, 7, or 8

...


To start Zend Server:

Info
iconfalse
SBMJOB CMD(CALL PGM(ZENDSVR6/ZSTRSBS)) +
JOB(START_ZSV) JOBD(ZENDSVR6/ZSVR_JOBD) +
JOBQ(QGPL/QBATCH)

...

One way to start at startup is to put the commands to start the ZENDPHP74, ZENDPHP7, or ZENDSVR6 subsystem in the start up program defined by the QSTRUPPGM system value.  If you decide to do this, you should also disable the Autostart Job Entry in subsystem QSYSWRK.  This article tell show to do that:

Prevent or Enable Automatic Start up of Zend Server on IBM i

Note
iconfalse
titleNote: You cannot make changes to QSYS/QSTRUP.

If the start up program defined in system value QSTRUPPGM is QSTRUPPGM is QSYS/QSTRUP you need to retrieve the source from it and make your own to make any changes.  This page in the IBM documentation tells how:

Changing the IPL startup program

...