Fix the issues caused by 'imunify360-ea-php-hardened'

If you're experiencing an error caused by imunify360-ea-php-hardened, follow the steps below to fix it:

1. Check the status of Hardened PHP by running the command:

imunify360-agent features status hardened-php

If the output is:

{'message': 'Hardened-PHP is installed', 'status': 'installed'}

it means Hardened PHP is installed. In this case, you can remove it by running the command:

imunify360-agent features remove hardened-php

or, alternatively, remove the culprit repository with:

rm -rf /etc/yum.repos.d/imunify360-ea-php-hardened.repo

Alternatively, you can disable the repository with the following commands:

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

After disabling/removing the repository, run the following commands once:

yum clean all && yum makecache

Now re-check the status to ensure that the issue is resolved.

Finally, you can install Hardened PHP again by running the following command:

imunify360-agent features install hardened-php
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How to install ImunifyAV free malware scanner?

To install ImunifyAV FREE antivirus for cPanel and DirectAdmin hosting panels, open an SSH...

How to install ModSec Rulesets of Imunify360?

This section includes specific settings for each hosting panel that Imunify360 supports. It is...

Upgrade Imunify360 instance to the Latest Version

If you want to upgrade to the new Imunify360 version, you can use the updated script by running...

Imunify360 - IDS Integrations - Fix Conflicts

CXS Integration ConfigServer eXploit Scanner (CXS) has different types of malware scanning,...

How to install Imunify360 on your cPanel server?

Imunify360 is simple to install. It runs on the following distributions: CentOS 6, 7 &...