What are the php-fpm.conf configuration items?

藏色散人
Release: 2023-03-01 18:40:01
Original
2104 people have browsed it

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.

What are the php-fpm.conf configuration items?

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template