I need to set the pub directory in my Magento 2 installation to 775 but when I set pub to 775 I'm getting an 500 Internal Server error.
I can set pub just to 755.
我需要将Magento 2安装中的pub目录设置为775,但是当我将pub设置为775时,我收到了一个500内部服务器错误。我可以把酒吧调到755。
I see in the Magento DevDocs that the permissions for directories should be 775 and files 664.
我在Magento DevDocs中看到,目录的权限应该是775,文件的权限应该是664。
Is this controlled by a .htaccess file or is this a server setting?
这是由.htaccess文件控制的,还是服务器设置?
更多回答
Please check your server's error log for details
有关详细信息,请查看服务器的错误日志
优秀答案推荐
solved:
已解决:
my Server Admin solved this problem. The Server was using suPHP. He replaced suPHP with CGI
我的服务器管理员解决了这个问题。服务器使用的是suPHP。他用CGI替换了suPHP
更多回答
我是一名优秀的程序员,十分优秀!