杰客网络

杰客网络个人博客

TP runtime 权限问题

默认分类 0 评

比如生成的日志文件用户是root用户,你却用www用户写入日志,那就很有可能写入不了日志。
你是不是有什么PHP队列或者定时任务是用root用户执行的。

centos + nginx + tp5 关于 runtime 权限问题总结
https://blog.csdn.net/qq_22858601/article/details/77049586

更改 Nginx 服务的默认用户
https://blog.csdn.net/dichengyan0013/article/details/102347042?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control

thinkphp5日志文件权限的问题
https://www.cnblogs.com/werben/p/11550320.html

修改webserver站点用户组权限
https://www.cnblogs.com/killallspree/archive/2004/01/13/4049988.html

定时任务 cron