2017-08-06 95 views
0

Filelog.php已經是chmod 777,但我仍然在下面得到錯誤。我該如何解決它?謝謝....(Mac OS)中CakePHP文件權限(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 
+1

很可能,你不想寫'Filelog.php',而是'logs'目錄。 –

回答

0

你應該給許可,logstmp那些2目錄recursively

可能是那些目錄可能不存在。然後你必須在cakephp根目錄下創建,然後給予權限recursively