Update to PHP 7.1.2 with success!
02-27-2017, 04:41 AM
(This post was last modified: 02-27-2017, 04:42 AM by julinhobrow.)
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
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
Quote:[root@painel suhosin7]# php -vits's 100%
PHP 7.1.2 (cli) (built: Feb 15 2017 08:36:40) ( NTS )
Copyright © 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright © 1998-2017 Zend Technologies