php-fpm.conf configuration items are: 1. "pid", indicating the location of the PID file; 2. "error_log", indicating the location of the error log; 3. "log_level", indicating the error level; 4 , "daemonize" means setting FPM to run in the background, etc.
php-fpm.conf configuration item
Name | Default | Remarks |
---|---|---|
pid | PID file The location | |
error_log | The location of the error log | |
log_level | notice | Error level alert: must be processed immediately, error: error situation, warning: warning situation, notice: general important information, debug: debugging information |
daemonize | yes | Set FPM to run in the background |
listen | ip:port,port,/path/to/unix /socket | Set the address that accepts FastCGI requests |
pm | static, ondemand, dynamic | Set how the process manager manages Child process |
request_slowlog_timeout | '0' | Slow logging threshold |
slowlog | Slow request log |
For more related knowledge, please visit PHP Chinese website
The above is the detailed content of What are the php-fpm.conf configuration items?. For more information, please follow other related articles on the PHP Chinese website!