Sentora Support Forums

Full Version: Php5.6 on ubuntu possible?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is it possible to upgrade from php5.5x to 5.6 i have my santora on ubuntu 14.x? if so can someone please give me the cmd's?

thanks
I have upgraded the php my server now says php7 but in sentora it is still showing as php 5.59 i am not sure what is happening. please help

from sentora control panel : PHP Version 5.5.9-1ubuntu4.26
from server ssh: root@ns1:~# php -v
PHP 7.0.32-4+ubuntu14.04.1+deb.sury.org+1 (cli) (built: Nov 4 2018 05:40:44) ( NTS )

no idea why it is showing different
Hi pakmafia,
Sometimes both versions of PHP are installed on the server but only one is enabled. You have to disable PHP7 then enabled PHP5 if you want to use it. Some directions below:

$ssh username@myIP - Login to your server via ssh
$ a2dismod php7.0 - Disable PHP7
$ a2enmod php5 - Enable PHP5
$ service apache2 restart - Restart Apache2