Laravel 10 - PHP 8.1 or above - 404 Not Found - nginx/1.22.1

OttoY 15 Reputation points
2023-04-25T19:14:47.7233333+00:00

I followed all the tutorials listed below without avail. . Tutorial: Deploy a PHP (Laravel) app with Azure Database for MySQL - Flexible Server on Azure App Service
azure-docs/tutorial-archive-laravel.md at main · MicrosoftDocs/azure-docs · GitHub It seems by reading other blogs with similar issues as I have, that Laravel 10 with php 8.1 and above is not responding well with the Nginx services in Azure. Please read carefully the blog  I listed in my previous email and again below.  https://dreitier.com/knowledge-base/devops-in-general/platforms/microsoft-azure/deploying-laravel-10-php-8.x-apps-in-microsoft-azure-app-service Maybe you can understand the problem of ask around at Azure for someone who more knowledgeable with Laravel 10 php 8.1 and above. I believe the solution should be very easy to identify. 

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
772 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,936 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Ortega Elizarrarás 5 Reputation points
    2023-07-15T04:07:18.89+00:00

    I have got the same error, so I put a file test.php with phpinfo() function at the public directory and the execution was successful. I think the problem is in the index.php front controller's laravel framework.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.