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.

[How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS]
#1
[How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS]
Lets begin by logging into your panel using ssh, then enter the following commands:
Code:
//check current version
php -v
// install epel && update
yum install epel* && yumupdate
//Add CentOS 7 repo
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
//run it && update
sudo rpm -Uvh remi-release-7*.rpm && yum update
//update php to 5.6
yum --enablerepo=remi,remi-php56 update

Now the above handles the installation of php5.6, although the following is the main part and is A MUST for Sentora Panel.

Rebuild Suhosin
Code:
cd /tmp
wget -nv -O suhosin.zip https://github.com/stefanesser/suhosin/archive/suhosin-0.9.37.zip
unzip -q suhosin.zip
cd suhosin-suhosin-0.9.37
phpize &> /dev/null
./configure &> /dev/null
make &> /dev/null
make install
// now reboot using
reboot
//after reboot do
php -v

You should get the following output:

[Image: U6hbjoM.png]
-BetaTester3.0  ||  Just Another Sentora User. 

Did you know, Sentora has a full Support Documentation ?
If I helped +rep & Thanks is appreciated.
BTC: 1Bps3ZerDFDDnXJ9XdWtHhdhwsV4MVGLkw

Reply
Thanks given by:


Messages In This Thread
[How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS] - by betatester3.0 - 10-18-2017, 02:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Fail2ban for Sentora (Centos 7) bbspike 14 49 ,089 01-14-2020, 07:32 AM
Last Post: Vedran B
Update to PHP 7.1.2 with success! julinhobrow 5 24 ,979 09-06-2019, 02:11 PM
Last Post: gerzok
How to Update PHP 5.5.9 To 5.6 elmucho 0 3 ,437 02-01-2018, 11:34 AM
Last Post: elmucho

Forum Jump:


Users browsing this thread: 2 Guest(s)