Ensure that all Microsoft Azure App Service web applications developed with PHP are using the latest available version of PHP in order to take advantage of the most recent security fixes, performance improvements and new functionalities and features.
This rule resolution is part of the Conformity Security & Compliance tool for Azure.
efficiency
Periodically, newer versions of PHP are released to fix security flaws, add performance enhancements or just to include additional functionality. Therefore, using the latest software version is highly recommended in order to apply the necessary security patches and take advantage of the new enhancements and capabilities.
Audit
To determine if your Azure App Service web applications are using the latest version of PHP, perform the following actions:
Remediation / Resolution
To reconfigure your Microsoft Azure App Service PHP web applications in order to enable the latest supported version of PHP, perform the following actions:
References
- Azure Official Documentation
- App Service
- Configure an App Service app in the Azure portal
- Configure PHP in Azure App Service
- CIS Microsoft Azure Foundations
- Azure PowerShell Documentation
- az webapp
- az webapp list-runtimes
- az webapp list
- az webapp config
- az webapp config show
- az webapp config set