If you’re having an error caused by imunify360-ea-php-hardened, you can fix it in a very simple ways by doing these:
Remove the 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
Re-check!
After that hardened PHP can be installed as follows:
imunify360-agent features install hardened-php