July 14, 2024
013122 2016 Howtoupgrad1 - How to upgrade PHP version for Azure Web App
How to upgrade PHP version for Azure Web App.

013122 2016 Howtoupgrad1 - How to upgrade PHP version for Azure Web App

1.Open Cloud Shell

013122 2016 Howtoupgrad2 - How to upgrade PHP version for Azure Web App

2.Run the following command to show the current PHP version.


az webapp config show --resource-group resource-group-name --name app-name --query phpVersion

013122 2016 Howtoupgrad3 - How to upgrade PHP version for Azure Web App

3.Run the following command to show all supported PHP versions.


az webapp list-runtimes | grep php

013122 2016 Howtoupgrad4 - How to upgrade PHP version for Azure Web App

4.Run the following command to set the PHP version to 7.4.


az webapp config set --resource-group resource-group-name --name app-name --php-version 7.4

013122 2016 Howtoupgrad5 - How to upgrade PHP version for Azure Web App

013122 2016 Howtoupgrad6 - How to upgrade PHP version for Azure Web App

5.Run the following command to show the current PHP version.


az webapp config show --resource-group resource-group-name --name app-name --query phpVersion

013122 2016 Howtoupgrad7 - How to upgrade PHP version for Azure Web App

013122 2016 Howtoupgrad8 - How to upgrade PHP version for Azure Web App

Hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com

ca16fbd3199de5f66b829b87082fb970?s=80&d=retro&r=g - How to upgrade PHP version for Azure Web App

Author: Cary Sun

Cary Sun has a wealth of knowledge and expertise in data center and deployment solutions. As a Principal Consultant, he likely works closely with clients to help them design, implement, and manage their data center infrastructure and deployment strategies.
With his background in data center solutions, Cary Sun may have experience in server and storage virtualization, network design and optimization, backup and disaster recovery planning, and security and compliance management. He holds CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999. Cary is also a Microsoft Most Valuable Professional (MVP), Microsoft Azure MVP, Veeam Vanguard and Cisco Champion. He is a published author with several titles, including blogs on Checkyourlogs.net, and the author of many books.
Cary is a very active blogger at checkyourlogs.net and is permanently available online for questions from the community. His passion for technology is contagious, improving everyone around him at what they do.

Blog site: https://www.checkyourlogs.net
Web site: https://carysun.com
Blog site: https://gooddealmart.com
Twitter: @SifuSun
in: https://www.linkedin.com/in/sifusun/
Amazon Author: https://Amazon.com/author/carysun