PLBWEB_PHP_USE_FCGI Keyword


10.2

PLBWEB_PHP_USE_FCGI={parameter}

 

This keyword is optional and is placed in the [Environment] section of the PWS configuration INI file. It controls the PHP task interface to be used by the PWS server.

Where:

parameter
The parameter can be specified as 'ON', or 'OFF'.

Note:

1.    The parameter values are:

 

Value

Meaning

ON

Invokes the PHP runtime engine with a command line option to use PHP FastCGI.

OFF

Do not use PHP FastCGI runtime command line option.

 

2.   When this keyword is set to OFF, the PL/B PHP service uses the CGI interface. This is the default behavior if this keyword is not used.

3.   The CGI interface creates a new process for each request.

4.   When this keyword is set to ON, the PL/B PHP service uses the FastCGI interface.

5.   The FastCGI uses persistent processes to handle a series of requests.

6.   Each PHP FastCGI process is started when the PWS starts.

7.   If a FastCGI process fails, it is locked out. This reduces the PLBWEB_PHP_MAX_COUNT by one. Optionally, an error is logged and an email message is sent when the administrative email services are enabled.

Example:

 

PLBWEB_PHP_USE_FCGI=ON

 

 

See Also: Server Configuration Keywords, Server Command Line



PL/B Web Server