Hello,
By following the page https://docs.centreon.com/docs/upgrade/upgrade-from-24-04/, I'm stuck on the step "Upgrade the Centreon solution" when I run the command :
# dnf update centreon\* php-pecl-gnupg
The part of the output with problem is :
==cut==
Upgrading : centreon-web-24.10.3-1.el9.noarch 49/166
Running scriptlet: centreon-web-24.10.3-1.el9.noarch 49/166
Managing users and groups for apache ...
Updating APP_SECRET in centreon environment file ...
PHP Warning: PHP Startup: posix: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20220829
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: shmop: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20220829
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: sysvmsg: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20220829
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: sysvsem: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20220829
These options need to match
in Unknown on line 0
==cut==
The "API=20210902" seems to be php 8.1 and API=20220829 is php 8.2.
I do the step with the php version change as :
# dnf module list php | grep ^php
php 8.1
# dnf module reset php
# dnf module enable php:8.2
# dnf module list php | grep ^php
php 8.1 common >d], devel, minimal PHP scripting language
php 8.2 oe] common dd], devel, minimal PHP scripting language
#
In Redhat 9 the standard php service name is php-fpm.service but not php8.1-fpm.service.
Do you think is it my possible problem ?
My current version for package centreon-web is centreon-web-24.04.9-1.el9 because before that i upgrade to the latest 24.04.
How can i help you to find my solution ?
Thanks you for your help.
Franck.