Question:
I’ve successfully uploaded my application to AWS Beanstalk and its environment URL is also working. But whenever I change any PHP scripts under /var/www/html/ it does not reflects changes.
I’m not sure about directory location of Beanstalk application and assuming its a /var/www/html/ am trying this.
Thanks much.
Answer:
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?