开发者

PHP error log not updating

开发者 https://www.devze.com 2023-03-25 11:53 出处:网络
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.

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 c开发者_如何转开发atching anything. I've tried putting in known errors like calling functions that don't exist and nothing shows up.


Maybe check that Apache still has access to this folder and this file.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消