Filelog.php已经是chmod 777,但我仍然会收到以下错误。我该如何解决?谢谢....(Mac os)
failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/oven-master/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php
-rwxrwxrwx 1 daemon admin 3068 Jul 27 09:49 BaseLog.php
-rwxrwxrwx 1 daemon admin 3088 Jul 27 09:49 ConsoleLog.php
-rwxrwxrwx 1 daemon admin 6370 Jul 27 09:49 FileLog.php
-rwxrwxrwx 1 daemon admin 4570 Jul 27 09:49 SyslogLog.php
答案 0 :(得分:0)
您应该在logs
和tmp
这两个目录recursively
中授予权限。
可能是那些目录可能不存在。然后你必须在cakephp root中创建然后授予权限
recursively