php 8 in azure app service?

Steven Silva 21 Reputation points
2021-02-15T05:46:50.85+00:00

Will azure app services add the latest version of php (PHP 8) in the near future?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
0 comments No comments
{count} votes

Accepted answer
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2021-02-15T08:07:48.833+00:00

    @Steven Silva , Adding to learn2skills response. Yes, the next version of PHP is expected to be PHP 8.0. Official support for PHP 8 will only be available on Linux, as a result of this App Service will only support PHP 8 on Apps Service Linux instances.

    For additional information on this topic - PHP on App Service

    While there is no concrete ETA to share at this time, you may subscribe to these announcements to stay tuned.

    https://azure.microsoft.com/updates/ (Check out upcoming changes to Azure services)
    https://azure.microsoft.com/blog/topics/announcements/ (You may subscribe to this announcement)
    https://github.com/Azure/app-service-announcements (Follow -app-service-announcements page)

    1 person found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Alex Ryall 11 Reputation points
    2021-08-12T10:47:40.573+00:00

    As a warning switching from PHP 7 to PHP 8 it has switched from using Apache to Nginx so any previous rules in .htaccess will be lost and will almost certainly break your app.

    There doesn't seem to be any documentation about this switch so can't find a supported way of changing the Nginx config. I did manage this by using sed and a "service nginx reload" in the startup scripts but not very elegant.

    2 people found this answer helpful.

  2. SUNOJ KUMAR YELURU 15,256 Reputation points MVP Volunteer Moderator
    2021-02-15T06:22:08.23+00:00

    Hi @Steven Silva
    In Azure web app > app service, current PHP version 7.4 supporting and for the latest PHP 8 in the near future you need to check with the web app product team.

    Post your request in the web app product feedback forum you will get a reply from the product team.

    If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.

    1 person found this answer helpful.

  3. Stuart Creed 1 Reputation point
    2021-08-09T11:09:14.163+00:00

    PHP 8 is now on there.

    0 comments No comments

  4. Valentin Watel 6 Reputation points
    2021-08-19T06:29:46.26+00:00

    Is there any documentation planned by Microsoft about the changes from Apache to Nginx when using PHP 8.X?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.