'Whats the default application location for PHP apps deployed with EBS

I have a php(Centos) application that I am trying to deploy with Amazon Beanstalk.

My appplication is in /srv/sites/myapp.

So I setup my application and environment and uplaoded a zip file(myapp.zip) of my site.

I can see that the instances are created but the site does'nt work becuase my application is not uploaded to /srv/sites/myapp.

I am trying to figure out where EBS unzips my application and puts the files on my server.

Can someone please tell me if there is a default location where EBS could possible put the application files?

I checked /var/www.....



Solution 1:[1]

The default location is /var/www/html, and it uses Amazon Linux (which is RPM-based)

Solution 2:[2]

It resides inside /usr/share/nginx/html/ in case of php with nginx

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 aldrinleal
Solution 2 Mihir Bhatt