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!
#1
Update to PHP 7.1.2 with success!
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

Quote:[root@painel suhosin7]# php -v
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
its's 100%
Reply
Thanks given by:
#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:
#3
RE: Update to PHP 7.1.2 with success!
And you lost phpsusin sandboxing.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#4
RE: Update to PHP 7.1.2 with success!
(02-27-2017, 07:30 PM)Me.B Wrote: And you lost phpsusin sandboxing.
Hello, Me.B, is there a way to update php to 7.x in a safe way? or there is always some problems for the current version of Sentora?

M B
Reply
Thanks given by: modi
#5
RE: Update to PHP 7.1.2 with success!
(02-27-2017, 10:01 AM)worksmarter Wrote: 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

you need

# yum install git

and after that follow the steps of # git clone......
Reply
Thanks given by:
#6
RE: Update to PHP 7.1.2 with success!
I did this and in the FTP section i'm getting:

"sentora.js:37 Uncaught TypeError: $(...).popover is not a function"

Any advice?
Reply
Thanks given by:


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 ,414 03-18-2019, 01:23 AM
Last Post: BigBang
How to Update PHP 5.5.9 To 5.6 elmucho 0 3 ,401 02-01-2018, 11:34 AM
Last Post: elmucho
[How To] Update phpMyAdmin to latest version 4.7.4 betatester3.0 0 5 ,726 10-18-2017, 03:04 AM
Last Post: betatester3.0

Forum Jump:


Users browsing this thread: 1 Guest(s)