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%:
#21
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

Tnks man!
Solved my problem Smile
Reply
Thanks given by: Adiba , wormsunited
#22
RE: How to install php 5.6 on centos 6/7 working 100%:
(12-20-2014, 08:48 PM)DimitarBG Wrote: Hi,
1: yum install epel*
2: yum update / yum upgrade
3:
Code:
CentOS and Red Hat Enterprise Linux 6.x
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm

CentOS and Red Hat Enterprise Linux 7.x
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
sudo rpm -Uvh remi-release-7*.rpm
4: yum update / yum upgrade
5: yum --enablerepo=remi,remi-php56 update
6: yum --enablerepo=remi,remi-php56 upgrade
7: reboot
8: php -v Big Grin

working on 100%

Fine ... Thanks .
Reply
Thanks given by:
#23
RE: How to install php 5.6 on centos 6/7 working 100%:
(08-17-2016, 08:30 PM)Luisfm Wrote:
(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

Tnks man!
Solved my problem Smile
Reply
Thanks given by:
#24
RE: How to install php 5.6 on centos 6/7 working 100%:
For Godaddy Cloud Server:
If you get this Warning after php version upgrade...

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



Solve this problem using following Command:

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


Check Php Version : php -v

Output:
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
Reply
Thanks given by:
#25
RE: How to install php 5.6 on centos 6/7 working 100%:
I tried every method to install php 5.6 but it’s not working. Can someone tell me what the reason is and how to install php 5.6 properly? Please share the step by step instructions.
Reply
Thanks given by:
#26
RE: How to install php 5.6 on centos 6/7 working 100%:
OMG thank you for posting this! It saves my live now - and I've just registered; it is the speedtest help ever.


__________
personlighetsutveckling
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
How to install SSL certificate in clients website chgener 3 126 08-29-2017, 11:36 AM
Last Post: TGates
How to Install Silex on Hosting with Debian 8 oliverdev 2 879 07-23-2017, 04:17 AM
Last Post: Me.B
is it worthwhile waiting for 1.0.4 before switching to CentOS 7? Ron-e 2 965 09-30-2016, 12:23 AM
Last Post: Ron-e

Forum Jump:


Users browsing this thread: 2 Guest(s)