If you are unable to rebuild the Apache config file on your server where Imunify360 is installed with Hardened PHP by running the commands:
/scripts/rebuildhttpdconf
or,
yum reinstall ea-apache24-config-runtime -y
you can follow the steps below:
Go to the Imunify360 knowledgebase article titled "Fix the issues caused by 'imunify360-ea-php-hardened'".
Follow the instructions provided in the article to resolve any issues caused by the Imunify360 Hardened PHP feature on your server.
After fixing any issues, try rebuilding the Apache config file again.
If you are still unable to rebuild the Apache config file after following the above steps, you may submit a ticket to our support team for further assistance.