Hi All. I have been trying to upgrade to PHP8 but keep failing. I tried the following command and various more from the internet but nothing helped.
Below command was issued:
sudo apt-get install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install php8.1
But the application keep on responding with such:
E: Unable to locate package php8.0 E: Couldn’t find any package by glob ‘php8.0’ E: Couldn’t find any package by regex ‘php8.0’
Below are my OS details (VPS):
NAME=“Ubuntu” VERSION=“16.04.7 LTS (Xenial Xerus)” ID=ubuntu ID_LIKE=debian PRETTY_NAME=“Ubuntu 16.04.7 LTS” VERSION_ID=“16.04” HOME_URL=“http://www.ubuntu.com/” SUPPORT_URL=“http://help.ubuntu.com/” BUG_REPORT_URL=“http://bugs.launchpad.net/ubuntu/” VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial
If I am required to upgrade my VPS, can someone guide me to do so? I am not used to develoment stuff and I have WordPress on my VPS. So how can I upgrade (if required) without losing all those stuff there?
Thank you in advance.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.