报错:
<b>Fatal error</b>: Uncaught think\exception\ErrorException: mkdir(): Permission denied in /www/wwwroot/shop/thinkphp/library/think/log/driver/File.php: 53
解决:
把 项目根目录/runtime/log 目录的权限改成 0777即可
如图:

本文详细介绍了在PHP项目中遇到的mkdir() Permission denied错误,该错误发生在thinkexceptionErrorException中。解决方法是将项目根目录/runtime/log目录的权限更改为0777。
报错:
<b>Fatal error</b>: Uncaught think\exception\ErrorException: mkdir(): Permission denied in /www/wwwroot/shop/thinkphp/library/think/log/driver/File.php: 53
解决:
把 项目根目录/runtime/log 目录的权限改成 0777即可
如图:

4634
3018
7469
5007
1万+
3732

被折叠的 条评论
为什么被折叠?