Topic: upgrade from 5.4.39 to 5.5 failed

CENTOS 6


hi,

i previously used the repo to upgrade to 5.4.39 from the default 5.3 which ships with Centos 6.

all worked great.

however, i used the following command to upgrade to 5.5

yum --enablerepo=remi-php55,remi update php\*

from this page: http://blog.remirepo.net/post/2015/06/1 … and-5.6.10

during the installation i received warning notices, some are included below:

-----
PHP Warning:  PHP Startup: snmp: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/wddx.so' - /usr/lib64/php/modules/wddx.so: undefined symbol: php_XML_Parse in Unknown on line 0
PHP Warning:  PHP Startup: xmlrpc: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning:  PHP Startup: gd: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning:  PHP Startup: gmp: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning:  PHP Startup: imap: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning:  PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning:  PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning:  PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning:  PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning:  PHP Startup: odbc: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning:  PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
in Unknown on line 0
-----

this has been driving me crazy for hours - i do not want to restart apache until this is fixed

i am guessing that there are still old files (or a path to) from 5.4?

any help would be much appreciated

regards

dd2016

Re: upgrade from 5.4.39 to 5.5 failed

This message during the update is expected, after the update, if "php -v" output is ok, you're done.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: upgrade from 5.4.39 to 5.5 failed

hi remi

thanks for the quick response

php -v shows:

PHP 5.5.33 (cli) (built: Mar  2 2016 14:43:15)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies

so is it OK to restart apache?

regards

dd2016

Re: upgrade from 5.4.39 to 5.5 failed

Obviously, yes.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: upgrade from 5.4.39 to 5.5 failed

thanks very much remi

i was very paranoid yikes)

sorry to trouble you with this

regards

dd2016

Re: upgrade from 5.4.39 to 5.5 failed

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi