On wordpress app-service

Gayathri Anbarasu 40 Reputation points
2025-02-13T07:44:08.6533333+00:00

When deploying initial stage of my wordpress production application, it has deployed on developed php wordpress. app-service on windows and configured run-stack as ASP.NET version 4.8 platform on 32 bit.

I am planning to do version-up on wordpress this month.

+++++++++++
I understand that WordPress primarily runs on a "LAMP" stack, which stands for Linux operating system, Apache web server, MySQL database, and PHP programming language; essentially, WordPress utilizes a Linux server with Apache to serve web pages, while storing data in a MySQL database and using PHP to process information on the backend. 

++++++++++++
Does the configuration settings will affect my wordpress version update at on any cause?

Can I try same settings versionup on qa? or should I need to change this settings before versionup.
As my AZURE app-service os configured on WINDOWS , Will it be fine to keep same?

If am trying same, could you please suggest me what things need to pay attention on current case.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,297 questions
0 comments No comments
{count} votes

Accepted answer
  1. Manu Philip 19,426 Reputation points MVP
    2025-02-13T11:38:55.34+00:00

    Hi Gayathri Anbarasu

    If you are on a Standard or Premium plan of App services, you can add a deployment slot in your web app setup, which will help to test any changes before being deployed in production environment. So, as a first step, you need to upgrade the plan, if you are in basic plan

    After upgrading the plan, you can add a deployment slot from here:

    User's image

    While, creating the slot, make sure that you are cloning the existing website

    After the deployment slot has been created, you will have the exact copy of the website within the same LAMP version as the production has.

    Now, you can try your version changes in the deployment slot and test it. For that, open the deployment slot created and change the versions as needed

    Hope this helps in addressing your concerns.


    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sam Rueby 6 Reputation points
    2025-02-13T17:34:14.7+00:00

    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:

    1. Go to the 'Backups' blade on your Azure App Service in the Azure Portal.
    2. 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.
    3. Restore a database backup from roughly the same time to a new database schema name to be used by the slot.
    4. Update the configuration in the new slot to point to the restored database.
    5. Check wp-config.php and update the siteurl and home constants if needed.
    6. If your site is a multisite, use WP-CLI or a similar tool to update the database URLs to match the new slot URL.
    7. 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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.