Sentora Support Forums

Full Version: How to upgrade php and mysql Centos 6 64 ( Sentora)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.. is there a way to upgrade the php and mysql on Centos 6 64 (Sentora) ?
You can use centos 7 that have php 5.4 or use ubuntu 14 that have PHP 5.5.

We don't offer support for upgrading php using third party repos, you can do it at your own risk.
(04-16-2015, 08:47 PM)Me.B Wrote: [ -> ]You can use centos 7 that have php 5.4 or use ubuntu 14 that have PHP 5.5.

We don't offer support for upgrading php using third party repos, you can do it at your own risk.

It would be better so we can all get a php upgraded..like i want to use Centos 6 and have upgraded.. i done this to upgrade to php 5.5.

yum install yum-plugin-replace
yum replace php-common --replace-with=php55w-common

On the php-v it says now :


Quote:[root@sentora-test ~]# php -v

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.5.23 (cli) (built: Mar 21 2015 22:04:59)
Copyright © 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright © 1998-2015 Zend Technologies

FIX OF THE ISSUE :


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

Quote:[root@sentora-test ~]# php -v

PHP 5.5.23 (cli) (built: Mar 21 2015 22:04:59)
Copyright © 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright © 1998-2015 Zend Technologies
    with Suhosin v0.9.37-dev, Copyright © 2007-2014, by SektionEins GmbH
This solution is not supported it can trigger nasty conflicts and I already explained it, up to you.

M B
(04-16-2015, 10:24 PM)Me.B Wrote: [ -> ]This solution is not supported it can trigger nasty conflicts and I already explained it, up to you.

M B

ubuntu 14 has the newest mysql also?
https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes

all there the packages php & mysql shipping