Change of PHP version | WordPress.org

Hello there,
I have to change my wordpress theme but have to update PHP version for installing new theme.
Problem: if i update the php version the original website will be broken.
Is there a way to

  1. stage my current website
  2. update php version of the new staged site
  3. keep the old php version on the original site (so it’s reachable during custimazation of the duplicate) until i reintegrate the new website?

Kind regards & thanks a lot in advance

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer