# Deploying PHP 8.0 applications with Azure App Service

DevFeed: [Deploying PHP 8.0 applications with Azure App Service](<https://devfeed.tech/articles/deploying-php-8-0-applications-with-azure-app-service-29332.md>)

Original publisher: [Read original article](<https://www.schakko.de/2021/09/08/deploying-php-8-0-applications-with-azure-app-service/>)

Author: Schakko

Published: 2021-09-08T11:45:14Z

Content type: tutorial

Language: en

Sources: [Schakko](<https://devfeed.tech/sources/schakko.md>)

Topics: [Azure](<https://devfeed.tech/topics/azure.md>), [PHP](<https://devfeed.tech/topics/php.md>), [nginx](<https://devfeed.tech/topics/nginx.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Laravel](<https://devfeed.tech/topics/laravel.md>), [Docker Image](<https://devfeed.tech/topics/docker-image.md>), [Docker Container](<https://devfeed.tech/topics/docker-container.md>)

Tags: [azure](<https://devfeed.tech/tags/azure.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [docker-container](<https://devfeed.tech/tags/docker-container.md>), [docker-image](<https://devfeed.tech/tags/docker-image.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [mod-rewrite](<https://devfeed.tech/tags/mod-rewrite.md>), [nginx](<https://devfeed.tech/tags/nginx.md>), [php](<https://devfeed.tech/tags/php.md>), [shell-script](<https://devfeed.tech/tags/shell-script.md>), [startup](<https://devfeed.tech/tags/startup.md>)

## AI overview

This tutorial explains how to run PHP 8.0 applications on Azure App Service after the runtime stack changed from Apache to nginx. It describes updating the nginx configuration inside the underlying Docker image, including the use of a startup command or script for Laravel applications because .htaccess and Kudu deployment customization are insufficient.

## Source excerpt

To be able to run PHP applications on Azure App Services which are using PHP 8.0 features, the Runtime Stack has to be changed. With the newer Runtime Stack, you also have to update the nginx.conf of the underlying Docker image. This article describes how you can achieve that. 2023-03-28: [...] The post Deploying PHP 8.0 applications with Azure App Service appeared first on schakko.de.