How do i upgrade from PHP5 to php7.1 on Sentora Cpanel (Ubuntu)
Hello i am new to server configuration, i have a WordPress site running on Sentora Cpanel configured on Ubuntu 14.06 with PHP5.6 on default.
I would like to how to upgrade to PHP7.1 without breaking anything on Sentora Cpanel or WordPress.
While I am unfamiliar with using Sentora in general, based on this forum post, it looks like you should just need to upgrade PHP the normal way on the Linode. To upgrade to php 7.1 on Ubuntu 14.06, you will want to run the following commands:
#Make sure everything is up to date sudo apt-get update && sudo apt-get upgrade #Add the deb.sury.org PPA: sudo add-apt-repository ppa:ondrej/php #Run the following if add-apt-repository isn’t found. This will install it via the python-software-properties package: sudo apt-get install python-software-properties #Run an update so the packages appear: sudo apt-get update #Install PHP 7.1: sudo apt-get install php7.1
I hope this helps get you running. You can get a little more on this process at the guide I found these steps at.
If you encounter any issues, please feel free to respond here!