首页 > 解决方案 > Apache + php-fpm AH01071:出现错误“日志缓冲区已满 (1024)。访问日志请求已被截断

问题描述

Apache 和 php 环境出现以下错误。

apache_error {
    "level":"error",
    "Message":"AH01071: Got error 'the log buffer is full (1024). The access log request has been truncated.'"
}

如何解决这个问题?

标签: phpapacheapache2fpm

解决方案


打开 /etc/php-fpm.conf 并根据需要更新log_limit = 4096或更高的值,然后systemctl restart php-fpm.


推荐阅读