Jump to content

PHP Upgrade on CentOS 5.4 -> 5.6


NoGi

Recommended Posts

I'm trying to upgrade my php version with this guide.

But when I do the yum update I see this error:

Error: Package: php-5.6.17-1.el6.remi.x86_64 (remi-php56)
           Requires: httpd-mmn = 20051115
           Installed: httpd-2.4.6-40.el7.centos.x86_64 (@base)
               httpd-mmn = 20120211
               httpd-mmn = 20120211x8664
               httpd-mmn = 20120211-x86-64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

My usual updates don't see any pending updates to httpd, is there another repo I also need to include?

Link to comment
Share on other sites

Yeah just noticed I had the wrong remi repo. Just fixed and got past that error but see this on screen:

# php -v
Failed loading /usr/lib64/php/modules/ZendGuardLoader.so:  /usr/lib64/php/modules/ZendGuardLoader.so: invalid ELF header
PHP Warning:  PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20131226
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: newrelic: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20131226
These options need to match
 in Unknown on line 0
PHP 5.6.17 (cli) (built: Jan  6 2016 18:56:36)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.19, Copyright (c) 2002-2015, by ionCube Ltd.

ACtually, is zendguard still needed with Nexus on IPS4?

Link to comment
Share on other sites

6 hours ago, NoGi said:

Yeah just noticed I had the wrong remi repo. Just fixed and got past that error but see this on screen:


# php -v
Failed loading /usr/lib64/php/modules/ZendGuardLoader.so:  /usr/lib64/php/modules/ZendGuardLoader.so: invalid ELF header
PHP Warning:  PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20131226
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: newrelic: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20131226
These options need to match
 in Unknown on line 0
PHP 5.6.17 (cli) (built: Jan  6 2016 18:56:36)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.19, Copyright (c) 2002-2015, by ionCube Ltd.

ACtually, is zendguard still needed with Nexus on IPS4?

Not needed so you can just remove it from your config file.
Seems like you need to re-compile (or re-install) imagick and newrelic extensions as-well.

Link to comment
Share on other sites

38 minutes ago, Ahmad E. said:

Not needed so you can just remove it from your config file.
Seems like you need to re-compile (or re-install) imagick and newrelic extensions as-well.

That's going to make it easier now. What's used now instead of zenguard with IPS4?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...