微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

ElasticBeanstalk Amazon Linux 2上的Httpd错误

如何解决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 举报,一经查实,本站将立刻删除。