How do I update PHP minor versions?

Nathan Kitchen 1 Reputation point
2020-03-11T20:01:06.01+00:00

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 Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,931 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,056 Reputation points Microsoft Employee
    2020-03-11T20:32:59.683+00:00

    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.