(02-27-2017, 04:41 AM)julinhobrow Wrote: I'm learning and discover how without erros include suhosin too
1: yum install epel*
2: yum update
3:
For Centos 6.x
wget http://rpms.famillecollet.com/enterprise...ease-6.rpm
sudo rpm -Uvh remi-release-6*.rpm
For CentOS 7.x
wget http://rpms.famillecollet.com/enterprise...ease-7.rpm
sudo rpm -Uvh remi-release-7*.rpm
4: yum update / yum upgrade
5: yum --enablerepo=remi,remi-php71 update
6: reboot
Now For suhosin install
1: sudo yum install gcc make autoconf libc-dev pkg-config
2: git clone https://github.com/sektioneins/suhosin7
3: cd suhosin7
4: phpize /opt/sp/php7.X/bin/phpize
5: PATH=/opt/sp/php7.X/bin:$PATH ./configure
6: make
7: sudo make install
8: sudo bash -c echo extension=suhosin.so > /etc/php.d/suhosin.ini
now
php -v
its's 100%
SUHOSIN did not get installed, it needs to show up in your php -v output...
Like this:
Code:
PHP 5.6.30 (cli) (built: Jan 19 2017 07:57:06)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Suhosin v0.9.38, Copyright (c) 2007-2015, by SektionEins GmbH
Everyone makes mistakes, but to truly screw up it takes the root password!