Difference between revisions of "那些出现 bug 的原因"

Jump to navigation Jump to search
no edit summary
* WSL 中刚安装的 MediaWiki,可以访问首页,一保存就 The connection was reset
# 首先查看 /var/log/apache2 中的 error.log 显示:[Fri Jul 19 09:41:15.705477 2024] [core:notice] [pid 20127:tid 20127] AH00051: child pid 21039 exit signal Segmentation fault (11), possible coredump in /etc/apache2。有网友说在 php.ini 中把 memory_limit 调大试试,发现原始值为 -1,改为 500M 试试。无效
# 重启出现 <code> Starting Apache httpd web server: apache2[Fri Jul 19 09:55:49.881666 2024] [core:warn] [pid 266:tid 266] (92)Protocol not available: AH00076: Failed to enable APR_TCP_DEFER_ACCEPT </code>。有网友说因为 WSL 1 不支持 http[https://askubuntu.com/questions/1431987/ubuntu-22-04-92protocol-not-available-ah00076-failed-to-enable-apr-tcp-defer filter,AcceptFilter],果断转为 WSL 2。成功

Navigation menu