About Install Php7.3

hi

after move the opencart website here ,it shows"Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0"

my current php version is php7.2 in this linode VPS,

i would like to upgrade to php7.3, which document should i follow?

i have tried a few documents from google and chatgpt,but no good luck

sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php7.3

show the following error:
E: Unable to locate package php7.3

sincerely

1 Reply

Before making any changes to PHP I always recommend that you make a backup or take a snapshot of your machine as it is currently, so that way if you run into any issues you can roll back to your current setup.

Beyond that, it looks like this question has been answered in depth in another Community Site post a few years ago here:
https://www.linode.com/community/questions/19078/install-php-71-72-73-on-centos-7

If you run into any issues when following those steps just let us know.

I hope that helps!

-Micah

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct