PHP-FPM provides an alternative FastCGI daemon for PHP that allows a website to handle significant loads. It allows a host to set specific amounts of resources to process a domain's requests via workers available to respond to PHP requests (pools). These pools allow a website to process more requests .than a typical
PHP-FPM functions more quickly faster than traditional CGI-based methods, such as SUPHP, for multi-user PHP environments. It does not overload a system's memory with PHP requests from Apache processes, such as the
ruid2+php-dso process. PHP-FPM only executes PHP requests, which enables it to service content quicker than other methods.
Each file contains different directives from the built-in values.
The following example displays the
system.yaml file's contents:
--- daemonize: yes
This example only uses a different value than the built-in default for the
daemonize setting. The
system-pool-defaults.yaml file also performs this action, but applies the value to each pool that you create. Each domain in the system requires that you create one pool. Some fields use unacceptable characters such as quotation marks ( ""), periods (
.), angle brakcets (
), and parenthesis
(()) for " for internal reasons, but you must substitute them with an underscore (
The table below contains examples of unacceptable value names:,
|Old Name||New Name|
If you prepend any PHP settings with the with the
The filesystem configuration files
This file controls a specific domain's pool. The file system uses the built-in default values and the and
Use the following optional files only if you wish to to change the default parameters:
This file contains system - level settings.
The system also uses this file to generate the
The system uses this file to generate each domain's pool and configure each user's pool.
All domain pools use these defaults unless a
We do not recommend that you perform