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.

Update to PHP 7.1.2 with success!
#2
RE: Update to PHP 7.1.2 with success!
(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!
Reply
Thanks given by:


Messages In This Thread
RE: Update to PHP 7.1.2 with success! - by worksmarter - 02-27-2017, 10:01 AM
RE: Update to PHP 7.1.2 with success! - by Me.B - 02-27-2017, 07:30 PM
RE: Update to PHP 7.1.2 with success! - by gerzok - 09-06-2019, 02:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
[How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS] betatester3.0 5 19 ,578 03-18-2019, 01:23 AM
Last Post: BigBang
How to Update PHP 5.5.9 To 5.6 elmucho 0 3 ,429 02-01-2018, 11:34 AM
Last Post: elmucho
[How To] Update phpMyAdmin to latest version 4.7.4 betatester3.0 0 5 ,760 10-18-2017, 03:04 AM
Last Post: betatester3.0

Forum Jump:


Users browsing this thread: 1 Guest(s)