Php Amazon Beanstalk部署不包括子模块

Php Amazon Beanstalk部署不包括子模块,php,wordpress,git,amazon-elastic-beanstalk,Php,Wordpress,Git,Amazon Elastic Beanstalk,我在本地使用它,在AWS Beanstalk上使用它时遇到问题。当我打开/index.php时,我在浏览器中看到一个空白页面,在日志中看到以下消息: PHP Fatal error: require(): Failed opening required './wp/wp-blog-header.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/app/current/index.php on line 4 相对于in

我在本地使用它,在AWS Beanstalk上使用它时遇到问题。当我打开/index.php时,我在浏览器中看到一个空白页面,在日志中看到以下消息:

PHP Fatal error:  require(): Failed opening required './wp/wp-blog-header.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/app/current/index.php on line 4
相对于index.php文件的位置/wp/wp blog header.php存在,但beanstalk上的php无法找到它。当我将其更改为wp/wp blog header.php时,它也不起作用

更新


原来命令
eb deploy
没有推送子模块,我的设置使用的是子模块。所以文件实际上不在那里,因为它们在子模块中。有没有办法做到这一点?我正在使用。

您可以使用来运行任何命令。也适用于模块安装/部署。

这似乎不适用于我使用EB CLI 3.x的情况。你有新版本的CLI吗?是的,它适合我。你的案子到底有什么问题?