[How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS]
10-18-2017, 02:46 AM
(This post was last modified: 10-18-2017, 03:04 AM by betatester3.0.)
Lets begin by logging into your panel using ssh, then enter the following commands:
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
You should get the following output:
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:
-BetaTester3.0 || Just Another Sentora User.
Did you know, Sentora has a full Support Documentation ?
If I helped +rep & Thanks is appreciated.
BTC: 1Bps3ZerDFDDnXJ9XdWtHhdhwsV4MVGLkw
If I helped +rep & Thanks is appreciated.
BTC: 1Bps3ZerDFDDnXJ9XdWtHhdhwsV4MVGLkw