PLBWEB_PHP_MAX_COUNT Keyword


10.2

     PLBWEB_PHP_MAX_COUNT={value}

 

This keyword controls the maximum number of active PHP tasks.

 

This keyword is optional and is placed in the [Environment] section of the PWS configuration INI file. .

Where:

value
A limit to the number of concurrent PHP tasks.

Note:

1.   The value can be from one (1) to one hundred (100) for PHP tasks running under the FastCGI interface. In this case, a value of zero (0) defaults to a maximum count of five (5). Also, if this keyword is not used, the maximum count of five is used.

2.   The value can be from zero to two thousand (2000) for PHP tasks running under the CGI interface. A value of zero indicates that no maximum count should be used. Likewise, if this keyword is not used, there is no maximum count used.

3.   If more requests are made than available PHP tasks, the requests will be place in a queue. If any request is not processed within the time specified by the PLBWEB_CGI_TIMEOUT value, an error will be returned.

Example:

 

PLBWEB_PHP_MAX_COUNT=10

 

When PHP FastCGI is turned on, this keyword allows ten PHP runtime instances to exist at the same time for processing PHP requests.

 

 

See Also: Server Configuration Keywords, Server Command Line



PL/B Web Server PLBWEB_PHP_LOCATION PLBWEB_PHP_PORTNUM