[仅限PaaS]{class="badge informative" title="仅适用于云项目(Adobe管理的PaaS基础架构)和内部部署项目上的Adobe Commerce 。"}
无法使用nginx进行安装
本文修复了使用nginx Web服务器时Adobe Commerce安装失败的问题。
问题
如果您使用nginx Web服务器并尝试安装Adobe Commerce软件,则安装有时会失败。
解决方案
您可以在var/report
目录中通过以下错误确认问题:
NOTE: You cannot install Adobe Commerce using the Setup Wizard because the Adobe Commerce setup directory cannot be accessed.
You can install Adobe Commerce using either the command line or you must restore access to the following directory: /var/www/html/setup
If you are using the sample nginx configuration, please go to http://ce.mtf03.bcn.magento.com/setup/";i:1;s:641:"#0 /var/www/html/lib/internal/Magento/Framework/App/Http.php(213): Magento\Framework\App\Http->redirectToSetup(Object(Magento\Framework\App\Bootstrap), Object(Exception))
解决方法
使用命令行安装Adobe Commerce软件。
recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a