On the IBM i, PHP runs under Apache via FastCGI. FastCGI configuration tells how many PHP child processes will run. Each child process can handle one PHP request at a time. By default, Zend Server installations specify ten PHP children. This is usually ample, but some IBM i applications may have a very high number of users, scripts that run linger than a fraction of a second (long queries or calls to RPG programs), or both. In these circumstances, Apache may run out of available child processes. This article tells how to increase them.
Any version of Zend Server for IBM i running on any supported version of IBM i.
To begin, first please read the note above about choosing a safe editor. Then, please edit file /www/zendphp7/conf/fastcgi.conf (Zend Server 9 or higher, including Zend Server 2018 and 2019) or /www/zendsvr6/conf/fastcgi.conf (Zend Server 6, 7, 8, or 8.5) (please back up this file before making any changes!):
Window over to find the number of child processes in the first line that is not a comment. Look for this:
Set the number to the number of processes you want. For example, to set it to 25, change it to this:
Be sure that this line in the configuration remains all on one line. Save and exit.
Restart Apache for this change to take effect.