2016-11-13 78 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 {} \;