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.

Official Upgrade php version?
#6
RE: Official Upgrade php version?
(06-18-2017, 01:17 AM)visionix Wrote: I do not know if is done correctly but... I have upgraded to 5.6 and apparently all looks good. HOPE!!!
here is what I have done. I DO NOT TAKE ANY RESPONSIBILITY IF YOUR SERVER BREAKS UP... DO IT AT YOUR OWN RISK.




sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php5.6 php5.6-mcrypt php5.6-mbstring php5.6-curl php5.6-cli php5.6-mysql php5.6-gd php5.6-intl php5.6-xsl php5.6-zip libapache2-mod-php5.6

sudo a2dismod php5
sudo a2enmod php5.6
sudo service apache2 restart


Recompile suhosin


cd /tmp
wget -nv -O suhosin.zip https://github.com/stefanesser/suhosin/a...0.9.37.zip
unzip -q suhosin.zip
rm -f suhosin.zip
cd suhosin-suhosin-0.9.37
phpize &> /dev/null
./configure &> /dev/null
make &> /dev/null
sudo make install
cd ..
rm -rf suhosin-suhosin-0.9.37

This one worked for me except that I have removed -y for the following:

Code:
sudo apt-get install -y php5.6 php5.6-mcrypt php5.6-mbstring php5.6-curl php5.6-cli php5.6-mysql php5.6-gd php5.6-intl php5.6-xsl php5.6-zip libapache2-mod-php5.6

Thanks for the help @visionix  Heart
Reply
Thanks given by:


Messages In This Thread
Official Upgrade php version? - by visionix - 06-17-2017, 10:44 PM
RE: Official Upgrade php version? - by TGates - 06-17-2017, 10:51 PM
RE: Official Upgrade php version? - by visionix - 06-17-2017, 11:06 PM
RE: Official Upgrade php version? - by visionix - 06-18-2017, 01:17 AM
RE: Official Upgrade php version? - by Sonichaos - 06-22-2017, 11:19 AM
RE: Official Upgrade php version? - by mavdesigns - 01-28-2018, 10:37 PM
RE: Official Upgrade php version? - by bluebrad - 04-26-2019, 08:59 AM
RE: Official Upgrade php version? - by Vedran B - 01-13-2020, 07:17 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)