2016-11-13 77 views
0

我想在我的本地安裝Magento的1.9,這回我的錯誤以下上安裝Magento的1.9本地主機失敗

Warning: require_once(lib/Mage/Autoload/Simple.php): failed to open stream: Permission denied in /Users/pin/Sites/magento/downloader/index.php on line 32 

Fatal error: require_once(): Failed opening required 'lib/Mage/Autoload/Simple.php' (include_path='.:/usr/local/php5/lib/php') in /Users/pin/Sites/magento/downloader/index.php on line 32 

我嘗試添加

../ LIB的infont /法師

但仍然出現錯誤,有人可以指導我如何解決這個問題,欣賞,如果你能幫我解決這個問題。 謝謝

回答

0

這是限制性的文件系統權限。請read the docs,並設置適當的文件/文件夾權限,然後再試一次:

find . -type f -exec chmod 400 {} \; 
find . -type d -exec chmod 500 {} \; 
find var/ -type f -exec chmod 600 {} \; 
find media/ -type f -exec chmod 600 {} \; 
find var/ -type d -exec chmod 700 {} \; 
find media/ -type d -exec chmod 700 {} \;