This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Php5.6 on ubuntu possible?
#1
Php5.6 on ubuntu possible?
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
Reply
Thanks given by:
#2
RE: Php5.6 on ubuntu possible?
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
Reply
Thanks given by:
#3
RE: Php5.6 on ubuntu possible?
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
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
OS - Ubuntu 18.04 or Centos 8 Qrash 1 4 ,553 01-18-2021, 07:48 PM
Last Post: Jettaman
Ubuntu 18.04 vaxition 1 4 ,057 08-06-2020, 11:03 AM
Last Post: Jettaman
Php5.6 on ubuntu possible? lorenaustin 0 2 ,189 06-11-2020, 01:01 AM
Last Post: lorenaustin

Forum Jump:


Users browsing this thread: 1 Guest(s)