且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

警告:您的Magento文件夹没有足够的写权限

更新时间:2022-11-25 23:42:28

转到Magento主目录,并仅授予您的Webroot权限.

go to Magento home directory and just give permissions for your webroot.

e.g. (in ubuntu) : sudo chown -R www-data .

您还可以更改权限

chmod 777  -R downloader/*

希望对您有帮助.

在您的magento目录中如何操作(如果需要,请对以下命令使用sudo.)

How about in your magento directory (use sudo for below commands if required.):

find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 664 {} \;

对于Magento商店的正常运行或安装,仅需要写入两个文件夹:

For the normal operation or installation of a Magento store, only 2 folders need to be writable:

/media - for web accessible files, such as product images
/var - for temporary (cache, session) and import/export files

此处来源