5.1.3.2.1.16. PHP Requirements on Update

When we upgrade OpenNAC Enterprise from an old version, it may be necessary to upgrade our PHP version prior to the general upgrade.

This error will be detected by the following result in the “dnf update” command:

../../../../../_images/phprequirements.png

As we can see, the current version of php does not meet the requirements.

To solve the problem, we will execute the following commands:

dnf module -y reset php
dnf module -y enable php:7.4
rpm -e php-pecl-redis5-5.3.4-2.el8.x86_64 --nodeps

Finally, we can run the update again:

dnf clean all && dnf -y update