If you're facing an error caused by imunify360-ea-php-hardened, you can fix it in a moment by following those.
Remove the culprit repo:
rm -rf /etc/yum.repos.d/imunify360-ea-php-hardened.repo
Or. disable it:
yum-config-manager --disable imunify360-ea-php-hardened
yum clean all
After that hardened PHP can be installed as follows:
imunify360-agent features install hardened-php