The minimum PHP version supported on App Service is 7.3 .
The Laravel application, uses the /public subdirectory as the site root. The default PHP Docker image for App Service uses Apache, and it doesn't let you customize the
DocumentRoot for Laravel. However, you can use
.htaccess to rewrite all requests to point to /public instead of the root directory. In the repository root, an
.htaccess is added already for this purpose. With it, your Laravel application is ready to be deployed.
However, if you wish to change the site root, you can update the
.htaccess file in your repository root with the following content:
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^.*$ /public/$1 [NC,L,QSA] </IfModule>
Hope that helps. please let us know if you have further questions.