How to deploy PHP Lumen API Code in Azure Web App

  api, azure, laravel, lumen, php

I want to deploy lumen code in Azure Web App Service. I am following this link to create PHP Web App in Azure App Service. I am able to create and launch simple Hello World Application as mentioned here.

Now, I want to deploy actual Lumen code in Azure App. I cloned lumen application using composer create-project --prefer-dist laravel/lumen myfolder
command and trying to serve the application using php -S localhost:8000 -t public (used my azure server name instead localhost:8000) command. But It is not working.

How to deploy and How to serve this Application in server?

Source: Laravel

Leave a Reply