AWS Beanstalk文档目录

lne*_*pal 5 php amazon-ec2 amazon-web-services

我已成功将我的应用程序上传到AWS Beanstalk,其环境URL也正常运行.但每当我更改/ var/www/html /下的任何PHP脚本时,它都不会反映更改.

我不确定Beanstalk应用程序的目录位置,并假设它是/ var/www/html/am尝试这个.

非常感谢.

Rya*_*man 10

When you deploy your application to a PHP-based environment running in Elastic Beanstalk, your application code is stored in /var/www/html/. This can be changed by changing the DocumentRoot setting in the Elastic Beanstalk web console or via .ebextensions settings.

When you deploy changes, it takes a few minutes for the deployment process to complete — it isn't instantaneous.

[…] whenever I change any PHP scripts under /var/www/html/ it does not reflects changes.

How are you making these changes?