开发者

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 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜