php - 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.'"
}
如何解决这个问题?
解决方案
打开 /etc/php-fpm.conf 并根据需要更新log_limit = 4096
或更高的值,然后systemctl restart php-fpm
.
推荐阅读
- c# - 为什么我们需要 IEnumerable
在获取方法之前? - ios - UIScrollView 水平内容大小调整并添加UILabels
- regex - 在 htaccess 中使用正则表达式重定向永久
- python - 如何根据条件替换csv文件中的数据?
- asp.net-core - 如何使用 Identity Server 4 为外部身份验证提供程序创建令牌
- c# - 获取一个游戏对象以使用速度/角速度复制目标位置和旋转
- xcode - Xcode 游乐场错误“未终止的 '/*' 注释”
- python - 使用列中包含的列名构建 DataFrame
- php - 尝试重定向时的laravel 6路由问题
- javascript - 由于不允许的 MIME 类型,加载模块被阻止