AppService php Windows

Jan Vávra 71 Reputation points
2021-11-18T18:40:16.82+00:00

Hello,
az webapp list-runtimes
returns
"php|7.3",
"php|7.4",

but I cannot determine, if it also can run on Windows platform. We have a php extension writen in C++ for Windows that we'd like to run there.
Are there any plans for php8.0/8.1 ?

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,322 questions
No comments
{count} votes

Accepted answer
  1. Ryan Hill 16,076 Reputation points Microsoft Employee
    2021-12-01T02:40:46.137+00:00

    Hi @Jan Vávra ,

    You can run 7.3 and 7.4 runtimes on Windows hosted app service plans; however, support for those runtimes is scheduled to end December 2021 and November 2022, respectively. PHP 8 will only be offered for Linux hosted app service plans. See https://github.com/Azure/app-service-linux-docs/blob/master/Runtime_Support/php_support.md#php-8 for more information.

    I understand you have a C++ library that you're interested in running. Therefore, I would suggest containerizing your application to a Windows Server core LTS base image, configuring PHP runtime, and running your app code inside the container if you're set on using that extension. Please refer to this how-to guide on how to get started with running custom containers on Azure.

    No comments

0 additional answers

Sort by: Most helpful