1.Open Cloud Shell
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
3.Run the following command to show all supported PHP versions.
az webapp list-runtimes | grep php
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
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
Hope you enjoy this post.
Cary Sun
Twitter: @SifuSun
Web Site: carysun.com
Blog Site: checkyourlogs.net
Blog Site: gooddealmart.com
Author: Cary Sun
Cary Sun is an Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1997.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA
Blog:
http://www.carysun.com http://www.checkyourlogs.net
Twitter:@SifuSun