I am new to using Microsoft Azure. My application requires composer to be installed on the server, how can I have it installed on the system of App services service? Application is in PHP.
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.
After installing, you also can install Visual Studio Online extension or leverage Kudu console site to handle or run commands of your Apps.
Another way to install composer
- Navigate to your azure portal
- Click on SSH
- Type curl -sS https://getcomposer.org/installer | php
I'm not familiar with composer in particular, but if just copy/pasting the bits are all that is required to install the program then you can deploy the bits with your site.
If it requires something more extensive (like registry updates) then it's not possible to install it.
来源:https://stackoverflow.com/questions/35035504/how-to-install-composer-on-app-service