PHP Update - 7.2.13 to 7.4 or higher

0

I have a Bitnami WordPress 5.0.3-2 site running on AWS Lightsail / Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-1096-aws x86_64). The WordPress dashboard is telling me I need to update the PHP version which is currently 7.2.13 to a minimum Ver. 7.4. I have tried following several step-by-step instructions that I found on the web but in each case, things failed at some point in the process. I'm a novice so I need fairly detailed instructions. Can somebody point me in the right direction?

Thanks for your help!

flyntm
asked 2 years ago367 views
1 Answer
0

Hello thank you for reaching out!

In regard to your question about updating your Wordpress PHP to a newer version, I will post a step-by-step start to solving your problem and then attach a link with further instructions down below.

  1. Login to your Linux instance using your terminal of choice
  2. Check to see if your computer system is already up to date - You can do this by entering the following command into your terminal - $ sudo yum update
  3. Check to see if your PHP version is running PHP 7.2 - You can check this by entering the following command - $ php -v

Reference to full guide with additional steps - https://greggborodaty.com/amazon-linux-2-upgrading-from-php-7-2-to-php-7-4/

Please let us know if you require any further assistance.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions