...
There are two techniques to use. The first is a quick check of the QHTTPSVR subsystem to verify no Apache instances have a lock on php-cgi.bin. The second uses the QP0FPTOS API to verify that no process is using php-cgi.bin and that no process is using php.bin.
For Zend Server versions 9.x and higher:
Part 1 - Verify no Apache instances have php-cgi.bin locked:
...
Info |
---|
|
wrkactjob sbs(qhttpsvr) |
...
On the Work with Active Jobs display, look under the Function column for every job. If the function is "PGM-php-cgi.bi", then the associated job is using PHP and must be stopped before continuing.
...
Info |
---|
|
ZENDPHP7 QTMHHTTP BCH .0 PGM-QZHBMAIN ZENDPHP7 QTMHHTTP BCI .0 PGM-QZSRLOG ZENDPHP7 QTMHHTTP BCI .0 PGM-QZSRLOG ZENDPHP7 QTMHHTTP BCI .0 PGM-QZSRHTTP ZENDPHP7 QTMHHTTP BCI .0 PGM-zfcgi ZENDPHP7 QTMHHTTP BCI .0 PGM-php-cgi.bi ZENDPHP7 QTMHHTTP BCI .0 PGM-php-cgi.bi ZENDPHP7 QTMHHTTP BCI .0 PGM-php-cgi.bi |
...
For Zend Server versions 6 - 8.5.x:
Part 1 - Verify no Apache instances have php-cgi.bin locked:
From the 5250 command line, with *SECOFR class authorities:
Info |
---|
|
wrkactjob sbs(qhttpsvr) |
On the Work with Active Jobs display, look under the Function column for every job. If the function is "PGM-php-cgi.bi", then the associated job is using PHP and must be stopped before continuing.
...