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.

upgrade to php 5.6
#15
RE: upgrade to php 5.6
The easier way is to follow this tutorial for Ubi: https://www.digitalocean.com/community/t...untu-14-04 ; This tutorial for Cent: https://www.digitalocean.com/community/t...n-centos-7

With Ubi you need to use the language filters so use this command (in Ubi tut): 
Code:
sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php

Then don't forget to run your regular commands:
Code:
sudo a2dismod phpx.x
sudo a2enmod phpx.x
sudo service apache2 restart

where the first line is the version of php you want to disable, and the second you want to enable. Follow all that up with:

Code:
sudo apt-get install php7.0-cli php7.0-common libapache2-mod-php7.0 php7.0 php7.0-mysql php7.0-fpm php7.0-curl php7.0-gd php7.0-bz2

followed up with some:

Code:
sudo service apache2 restart

and everything should be kosher. Takes me about 20 Minutes to deploy a whole server with sentora and everything.

Exclamation Exclamation Exclamation WARNING! Exclamation Exclamation Exclamation : Please remember to BACK UP your data in case that this fails. I am not responsible for lost data or people who follow my words blindly! Do anything I tell you with a grain of salt and do your research prior to doing ANYTHING!
Reply
Thanks given by:


Messages In This Thread
upgrade to php 5.6 - by claudiobiato - 12-08-2016, 11:53 PM
RE: upgrade to php 5.6 - by Me.B - 01-05-2017, 12:29 AM
RE: upgrade to php 5.6 - by sajun - 01-08-2017, 01:29 PM
RE: upgrade to php 5.6 - by FernandoGarcia - 01-31-2017, 11:20 AM
RE: upgrade to php 5.6 - by worksmarter - 01-31-2017, 07:22 PM
RE: upgrade to php 5.6 - by TGates - 02-01-2017, 03:16 AM
RE: upgrade to php 5.6 - by aroaminggeek - 02-01-2017, 02:04 PM
RE: upgrade to php 5.6 - by FernandoGarcia - 02-01-2017, 08:56 PM
RE: upgrade to php 5.6 - by TGates - 02-02-2017, 02:11 AM
RE: upgrade to php 5.6 - by FernandoGarcia - 02-02-2017, 03:36 AM
RE: upgrade to php 5.6 - by TGates - 02-02-2017, 06:29 AM
RE: upgrade to php 5.6 - by FernandoGarcia - 02-02-2017, 06:35 AM
RE: upgrade to php 5.6 - by TGates - 02-02-2017, 02:13 PM
RE: upgrade to php 5.6 - by akshalikas - 03-13-2017, 12:37 AM
RE: upgrade to php 5.6 - by jstacklin - 04-26-2017, 09:44 AM
RE: upgrade to php 5.6 - by Ron-e - 05-05-2017, 12:04 AM
RE: upgrade to php 5.6 - by worksmarter - 05-05-2017, 02:57 PM
RE: upgrade to php 5.6 - by FernandoGarcia - 05-06-2017, 01:10 AM
RE: upgrade to php 5.6 - by Obada - 12-28-2017, 02:39 AM
RE: upgrade to php 5.6 - by worksmarter - 01-17-2018, 01:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
PLEASE HOW DO I UPGRADE FROM 5.1 TO 7.4 franselect 4 16 ,815 04-22-2021, 04:47 PM
Last Post: PromptAttestation
Upgrade Kinda Work - Domain Issues Now ppcseopro 6 25 ,604 04-18-2020, 10:14 AM
Last Post: Jettaman
How to upgrade php and mysql version? davidlambda 4 30 ,326 03-11-2020, 06:16 PM
Last Post: davidlambda

Forum Jump:


Users browsing this thread: 8 Guest(s)