简体   繁体   中英

PHP error log not updating

My apache error log is located at /var/log/apache2/error.log . I've been using it to debug a simple PHP script I'm writing.

Now, suddenly it isn't catching anything. I've tried putting in known errors like calling functions that don't exist and nothing shows up.

也许检查Apache仍然有权访问此文件夹和此文件。

Solved by restarting Apache. It turns out that I "broke" it myself by editing the log file.
Note to self: Do not do that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM