question

NathanKitchen-1119 avatar image
0 Votes"
NathanKitchen-1119 asked ·

How do I update PHP minor versions?

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-webapps
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
0 Votes"
ryanchill answered ·

Hi @NathanKitchen-1119

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.

· 6 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It's a Windows web app, not Linux. The question isn't about how to update the runtime (I'm fine on 7.2 for now), but how to get the image to update its minor version from 7.2.22 to 7.2.27.

0 Votes 0 ·

I understand what you're saying now @NathanKitchen-1119. This isn't something that you can upgrade yourself. It's dependent on the rollout of platform updates. What version is your Azure App Service running? It will be listed on the kudu home page of your app under Environment.

0 Votes 0 ·

Build is reported as 85.11226.4297.0, App Service version is 86.0.7.153. I figured it wasn't something I could upgrade myself, but I thought this was what was announced as the Feb 2020 upgrade. Windows version is reported as 10.0.14393.

0 Votes 0 ·
Show more comments