In this article, we’ll go through the steps needed to test and upgrade the PHP version of your site with the help of Servebolt Support.
Time needed: 2 days
- Contact our Support Team
When you’re ready to upgrade your Bolt to a higher PHP version, contact our Support Team and we’ll be happy to create a new Trial Bolt for you with the desired version of PHP. Mind you, it has to be one of our supported PHP versions.
- Migrate your sites to the new Bolt
Once we’ve created a new Trial Bolt for you, we’ll add the storage space you need and copy over the sites. For most common platforms you can use our sitecopy script for this. Keep in mind that sitecopy doesn’t copy files outside of your web root, so if you got important files elsewhere than your web root, then migrate those too!
If you would like to do this yourself, then we have created an article which can help you out.
- Test your sites on the new Bolt
The next step is an important one. An upgraded version of PHP for your site(s) may cause issues depending on the code you’re running. Make sure you double-check all functionality and be sure to check the ErrorLog file. In most cases, you’ll be fine, but double-checking that everything works beforehand can save you a headache after the switch has been made.
- Confirm upgrade
If you’re happy with how your sites are performing with the upgraded version of PHP, contact our Support Team. We’ll guide you through the next steps to turn your Trial Bolt into your production Bolt.
- Point domain to new Bolt
Once our Support Team is ready to prepare your new Trial Bolt to be the new production Bolt, the next step is to point the DNS of your site to the new Host IP. Your domain registrar or Cloudflare’s DNS settings need to point to the new Host IP address of your new Bolt. Learn more about how to best prepare yourself for that.
The Support Team can temporarily reverse-proxy the traffic from your old Bolt to your new Bolt to ensure an immediate switch to the new Bolt. This will also mean you’ll no longer have to wait for the new DNS records to propagate over the internet.
That’s all! If you have any questions, don’t hesitate to reach out to Servebolt Support at Servebolt.com.