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

If you use Wordpress, then Be aware that this version of Suhosin WILL BREAK some WordPress features (mainly a bug when adding new items to menu is the most known issue).
aka: you will not be able to add new items to the menu in Worpdress.

Solution:
Use suhosin 0.9.38 instead of version 0.9.37 used in this post. If you haven't followed the post then instead of following the "rebuild suhosin" part, follow these instructions instead. If you already followed the post, it's okay, you can still do the steps to upgrade your suhosin version.

PHP Code:
cd /tmp

wget 
-nv -O suhosin.tar.gz https://download.suhosin.org/suhosin-0.9.38.tar.gz --no-check-certificate

 
tar -xf suhosin.tar.gz

cd suhosin
-0.9.38

phpize 
&> /dev/null

./configure &> /dev/null

make 
&> /dev/null

sudo make install
# Now you're done, check your php version.
 
php -v

# Now restart your server
reboot 

This has been tested on Centos 7. I have no idea how it might go for other operating systems (but in theory it should work).
Reply
Thanks given by: BigBang


Messages In This Thread
RE: [How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS] - by mohamedh - 02-24-2019, 09:12 AM

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

Forum Jump:


Users browsing this thread: 2 Guest(s)