How to upgrade PHP on a WordPress site on AWS Lightsail

by Muhammad in Uncategorized on February 22, 2023

PHP have been speeding up the delivery of their versions significantly over the past 2 years. WordPress have introduced a flag on the administration section to warn users to upgrade because support for earlier versions is being suspended at a faster rate.

Improved PHP means a more secure, better performing WordPress framework which is great for users but upgrading PHP versions is proving challenging for WordPress webmasters.

In the blog we outline the options available for carrying out this action on AWS Lightsail:

Option 1:

Use our software to do it! Yes we may be biased but the simplest way to do this is to install our software on your WordPress site and complete the steps in this guide

Option 2:

  1. Access Lightsail and launch the available WordPress bitnami AMI (Select the parameters e.g. name, size etc. as applicable in your case)
				
					sudo aws s3 cp /opt/bitnami/wordpress/wp-content s3://{bucket-name}/wp-content –recursive
				
			
				
					sudo aws s3 cp  s3://{bucket-name}/wp-content /opt/bitnami/wordpress/wp-content –recursive
				
			
				
					sudo wp db export –add-drop-tables
				
			
				
					sudo wp db import {database-name}.sql
				
			
				
					sudo /opt/bitnami/bncert-tool
				
			

And you are done!

Please feel free to contact us if any of the above is unclear, we would be happy to help.

Categories: Uncategorized

Share Your Valuable Opinions

Cart (0)

  • Your cart is empty.
WP Feedback

Dive straight into the feedback!
Login below and you can start commenting using your own user instantly