Detailed explanation of php-fpm.conf configuration file parameters

pid = run/php-fpm.pid

#pid setting, the default is var/run/php-fpm.pid in the installation directory, it is recommended to open

error_log = log/php-fpm.log

#Error log, var/log/php-fpm.log in the installation directory by default

log_level = notice

#Error levels. Available levels are: alert (must be handled immediately), error (error condition), warning (warning condition), notice (generally important information), debug (debug information). Default: notice.

emergency_restart_threshold = 0

emergency_restart_interval = 0

# Indicates that if the number of php-cgi processes with SIGSEGV or SIGBUS errors within the value set by emergency_restart_interval exceeds emergency_restart_threshold, php-fpm will restart gracefully. These two options are generally kept at their default values.

process_control_timeout = 0

## Indicates how long PHP-FPM leaves the FastCGI process to respond to the process multiplexing signal. If it times out, PHP-FPM will choose other fastcgi to process.

daemonize = yes

#Execute fpm in the background, the default value is yes, if you can change it to no for debugging. In FPM, it is possible to run multiple process pools with different settings. These settings can be set individually for each process pool.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324454140&siteId=291194637