Hello!
Just so you know, with your WordPress application currently running on an App Service configured for Windows, this means you're still using PHP 7.4 or an earlier version. This is a deprecated configuration on App Service, and you should consider migrating to the WordPress container on App Service, which runs on Linux. This will ensure better compatibility with WordPress, improved performance, and continued support for PHP updates.
To answer your question about testing the version upgrade in a QA environment, the best approach is to use a deployment slot in Azure App Service. Here’s a simple way to do it:
- Go to the 'Backups' blade on your Azure App Service in the Azure Portal.
- Choose "Restore" and restore the backup to a new deployment slot on your App Service. This will copy all files from the time of the backup.
- Restore a database backup from roughly the same time to a new database schema name to be used by the slot.
- Update the configuration in the new slot to point to the restored database.
- Check
wp-config.php
and update thesiteurl
andhome
constants if needed. - If your site is a multisite, use WP-CLI or a similar tool to update the database URLs to match the new slot URL.
- Test your new slot, make any necessary configuration changes, and verify that everything is working properly.
Once everything is confirmed to be running smoothly, you can use this to confirm configuration changes and updates will function correctly.
Again, please consider migrating to the WordPress container, as this will provide the best support and compatibility in the future.