I came across this link which talks about configuring PHP extension for Web App (using code) on Windows.
Similarly is there a way to configure PHP extension (PECL or PEAR) for Web App (using code) for Linux ?
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@Anand-Moghe Thanks for the question! We are investigating and will update you shortly.
@Anand-Moghe Thanks again for the question! You can use the steps from the blogs below to install the PHP extension.
https://azureossd.github.io/2019/01/29/azure-app-service-linux-adding-php-extensions/
https://azureossd.github.io/2019/01/29/azure-app-service-linux-update-php-settings/
Also, if you need to include additional dependencies for Linux PHP app, you can use Composer to install them. This tutorial shows how to use a .deployment file to invoke the custom deployment script to run “php composer.phar install” command.
https://docs.microsoft.com/en-us/azure/app-service/containers/tutorial-php-mysql-app#deploy-to-azure
@Anand-Moghe If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.