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]
#2
RE: [How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS]
(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:

[Image: U6hbjoM.png]

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.
Reply
Thanks given by:


Messages In This Thread
RE: [How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS] - by hym300 - 05-24-2018, 05:29 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)