CentOS PHP日志格式通常包含以下信息:
[2023-04-01 12:34:56]
[error]
[warning]
[notice]
script '/var/www/html/index.php' not found or unable to stat
/var/www/html/index.php:10
如果是自定義日志格式,可根據需求設置不同的字段組合,如[%time%] %method% %uri% %status%等。
[%time%] %method% %uri% %status%