How to Install Composer on App Service

How to install composer on app service?

You can install composer extension in the manage portal of your App Services.

  • Login on your Azure Account at https://portal.azure.com
  • Click the "tools" button, select "extensions" bar in the list on the right. Click "Add" button, open the extension list allowed to install in App Services. You can choose "Composer" there.
    Sample Image

After installing, you also can install Visual Studio Online extension or leverage Kudu console site to handle or run commands of your Apps.

How to add PHP extensions for Composer to Azure DevOps Pipeline

As answered in the comment by Levi Lu-MSFT, I was able to modify the PHP configuration by adding a new build task using the Command Line task and entering:

echo extension=intl >> C:\tools\php\php.ini
echo extension=fileinfo >> C:\tools\php\php.ini

Adding quotes caused an issue, but without it seems to work.



Related Topics



Leave a reply



Submit