RE: [How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS]
05-24-2018, 05:29 AM
(10-18-2017, 02:46 AM)betatester3.0 Wrote: 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:
Hi,
I already do this post but PHP-SOAP is not working, please help
I have worpress with Woocommerce installed, before the update php-soap client work but after the update do not work.