ElasticBeanstalk Amazon Linux 2上的Httpd错误

问题描述

当我尝试部署我的应用程序时出现此错误。 HTTPD无法启动

An error occurred during execution of command [app-deploy] - [start proxy with new configuration]. Stop running the command. Error: copy proxy conf from staging Failed with error validate httpd configuration Failed with error Command /bin/sh -c /usr/sbin/apachectl -t -f /var/proxy/staging/httpd/conf/httpd.conf Failed with error exit status 1. Stderr:AH00526: Syntax error on line 2 of /etc/httpd/conf.d/elasticbeanstalk/PHP.conf: DocumentRoot '/var/www/html/public' is not a directory,or is not readable

我正在使用PHP 7.4 Amazon Linux 2,Apache的代理服务器

我试图重建环境。

有什么想法吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)