gpt4 book ai didi

Magento 2 - 500 Internal Server error after setting permission to 775(将权限设置为775后,Magento 2-500内部服务器错误)

转载 作者:bug小助手 更新时间:2023-10-24 17:55:07 25 4
gpt4 key购买 nike



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


更多回答

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com