A CloudLinux server can encounter package-update errors if the Imunify360 hardened PHP repository is enabled when CloudLinux manages the corresponding PHP components. This guide covers that specific repository conflict.

Confirm the cause

Check that the server actually runs CloudLinux and that the error identifies imunify360-ea-php-hardened. Record the failed update and its HTTP or dependency error.

Do not apply this workaround to every repository error or to an AlmaLinux or Rocky Linux server simply because Imunify360 is installed. The required repository configuration differs.

Disable the conflicting repository

With administrator access, follow the command for the confirmed CloudLinux configuration.

For a legacy CloudLinux 7 system using Yum:

sudo yum-config-manager --disable imunify360-ea-php-hardened

For CloudLinux 8 or later using the documented DNF interface:

sudo dnf config-manager --disable imunify360-ea-php-hardened

If config-manager is unavailable or the option differs, check the installed package-manager version and vendor instructions rather than disabling other repositories.

Recheck the update

Confirm that the named repository is disabled, then retry the originally intended update in its maintenance window. Review the result and PHP services afterwards.

If errors continue, give the administrator the repository name and update output. This change does not fix unrelated authentication, network or package-dependency failures. Treat CloudLinux 7 as a legacy deployment and confirm its extended-support coverage separately.