How do I update PHP minor versions?

Nathan Kitchen 1 Reputation point

According to the post here, the PHP minor version update for 7.2.27 should be rolled out to app services in February 2020.

At time of writing (mid-March), a web app I'm running in UK South is still showing as version 7.2.22. I'm establishing this by running php -v from the command line, though the same issue has been flagged by our pen-testing regime.

Do I have to undertake any specific action for the minor version upgrade to roll out to my instance?

Apologies if this is documented somewhere, I've not been able to find the right combination of keywords to locate the relevant docs.

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

1 answer

Sort by: Most helpful
  1. Ryan Hill 16,696 Reputation points Microsoft Employee

    Hi @Nathan Kitchen

    You will have to switch your runtime for you web app manually. As runtimes are updated, App Services does not update your app to latest versions. I ran az webapp list-runtimes and can see PHP 7.4 as an available runtime on Windows. I'm assuming your app is on a Linux box because for az webapp list-runtimes --linux, it's not listed. I'm hearing though it should be rolled out next month assuming there aren't any delays.

    No apologies needed. The initial announcement should've been more explicit in that the February 2020 update was for Windows images. Hope this helps.