Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
From terminal:
1: yum install epel*
2: yum update / yum upgrade
3: Add repo source
- CentOS and Red Hat Enterprise Linux 6.x
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm
- CentOS and Red Hat Enterprise Linux 7.x
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
sudo rpm -Uvh remi-release-7*.rpm
4: yum update / yum upgrade
5: yum --enablerepo=remi,remi-php56 update
6: yum --enablerepo=remi,remi-php56 upgrade
7: Rebuild sahosin
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
8: reboot
@crebs86

This comment has been minimized.

Copy link

@crebs86 crebs86 commented Feb 4, 2017

Its the best. Tanks!

@trinvh

This comment has been minimized.

Copy link
Owner Author

@trinvh trinvh commented Feb 24, 2017

Glad it helps

@varun-naharia

This comment has been minimized.

Copy link

@varun-naharia varun-naharia commented Aug 31, 2017

You are great man !! Thanks. Do you have script to update msql,PHPMyadmin etc too ?

@qvs5010

This comment has been minimized.

Copy link

@qvs5010 qvs5010 commented Feb 22, 2018

Love it, thanks !!!!!

@Onlyitservices

This comment has been minimized.

Copy link

@Onlyitservices Onlyitservices commented Sep 17, 2018

Love it man so easy

@muzki-tech

This comment has been minimized.

Copy link

@muzki-tech muzki-tech commented Oct 31, 2018

it has been hard to find a good path and centos was the only proper way i could find sentora with php 5.6 here this great article where it shows how to rebuild suhosin the proper way. thank you.

@axavier34

This comment has been minimized.

Copy link

@axavier34 axavier34 commented Aug 24, 2019

I live in Brazil and would like to thank you for the help you gave me updating the sentora. Now when you have the upgrade to php7 help us too.
Before finishing by chance you could tell me where I change the language of this excellent tool, because I'm new to it

@Mites88

This comment has been minimized.

Copy link

@Mites88 Mites88 commented Mar 7, 2020

If you have errors when typing php -v after this installation, try using suhosin 0.9.38 (latest stable currently Mar 2020) from their github repo.

Same steps but with different suhosin version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment