阅读背景:

使用root:root而不是webapp:webapp创建的Laravel日志文件

来源:互联网 

In my applicaiton, I use laravel.log file that are created daily at 00:00 UTC. However, sometimes the file gets created with root:root user/group instead of usual webapp:webapp (apache user). This crashes my application because the application can no longer write to it. I noticed that the file ownership may be changing after the file has been written for a while (couple of minutes). In my applicaiton, I use laravel.log file that




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: