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.

How to install php 5.6 on centos 6/7 working 100%:
#10
RE: How to install php 5.6 on centos 6/7 working 100%:
(01-10-2015, 07:58 AM)Me.B Wrote: This method above don't work and suhosin is not loaded!







Quote:PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/module                s/suhosin.so' - /usr/lib64/php/modules/suhosin.so: undefined symbol: php_checkui                d in Unknown on line 0
PHP 5.6.4 (cli) (built: Dec 17 2014 16:47:40)
Copyright © 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright © 1998-2014 Zend Technologies

You will need to compile AGAIN suhosin!

To do so:







Code:
cd /tmp
wget -nv -O suhosin.zip https://github.com/stefanesser/suhosin/archive/suhosin-0.9.37.zip
unzip -q suhosin.zip
rm -f suhosin.zip
cd suhosin-suhosin-0.9.37
phpize &> /dev/null
./configure &> /dev/null
make &> /dev/null
make install
cd ..
rm -rf suhosin-suhosin-0.9.37

so you will get:







Quote:PHP 5.6.4 (cli) (built: Dec 17 2014 16:47:40)
Copyright © 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright © 1998-2014 Zend Technologies
   with Suhosin v0.9.37-dev, Copyright © 2007-2014, by SektionEins GmbH

Notice updating PHP to 5.6 is updating mysql to 5.5 too... and could cause later big issues when centos push updates that would conflict with remi!





I don't advice to do so!

M B

no M B remi include suhosin package

Code:
rm -f /usr/lib64/php/modules/suhosin.so

yum --enablerepo=remi,remi-php56 -y install php-suhosin


php -v

Code:
PHP 5.6.6 (cli) (built: Feb 19 2015 10:30:11)

Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Suhosin v0.9.37.1, Copyright (c) 2007-2014, by SektionEins GmbH


info package

Code:
================================================================================================================================================

 Package                          Architecture               Version                                        Repository                    Size
================================================================================================================================================
Install:
 php-suhosin                     x86_64                     0.9.37.1-1.el6.remi.5.6                        remi-php56                     102 k
Reply
Thanks given by:


Messages In This Thread
RE: How to install php 5.6 : - by TGates - 12-21-2014, 05:08 AM
RE: How to install php 5.6 : - by DimitarBG - 12-21-2014, 07:04 AM
RE: How to install php 5.6 : - by DimitarBG - 12-21-2014, 09:03 PM
RE: How to install php 5.6 on centos 6/7 working 100%: - by andykimpe - 03-18-2015, 06:56 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Opening ports after install? kevwebbie 5 862 09-28-2024, 11:10 AM
Last Post: TGates
How to install SSL certificate in clients website chgener 6 25 ,647 02-16-2021, 01:56 AM
Last Post: mlinke
Questions regarding install and config procedures nathanstotts 0 4 ,158 08-21-2018, 11:44 PM
Last Post: nathanstotts

Forum Jump:


Users browsing this thread: 10 Guest(s)