I'm trying to install some moduels (php7.0-mysql php7.0-mcrypt php7.0-mbstring php7.0-fpm php7.0-common php7.0-xml php7.0-gd openssl php7.0-mysql php7.0-bcmath) in a App Service linux. How can I do it?
Regards,
Eduard.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@Eduard-TC Thanks for posting the question. We will take a look on this and will get back to you.
@Eduard-TC
By design Azure Web App built-in images for PHP 7.0 and 7.2 already has the below extensions
php7.0-mysql php7.0-mcrypt php7.0-mbstring php7.0-common php7.0-xml php7.0-gd openssl php7.0-mysql php7.0-bcmath
See the Docker file for the built in PHP 7.0 Image.
With regard to Php7.0-fpm- FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites.
Azure Web App built-in PHP images use FastCGI (not FPM) so if you want to use FPM-PHP we do offer some other images. see the below links.
https://github.com/Azure/app-service-quickstart-docker-images/tree/master/nginx-fpm/php7.2.11
https://github.com/Azure/app-service-quickstart-docker-images/tree/master/wordpress-alpine-php/0.61
GUIDELINES AND BEST PRACTICES TO BUILD DOCKER IMAGES
https://github.com/Azure/app-service-quickstart-docker-images/blob/master/contribution-guide/best-practices.md
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
@Eduard-TC Just checking in if you have had a chance to see the previous response. Let me know if you have any other question on this.
@Eduard-TC Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion.
Hi @KetanChawda-MSFT thank you for the guide, I'll try to set up a App service with containers.