Error: Suhosin is not properly configured

Today while installing the Mautic on cPanel server,I have noticed the following error:

Suhosin is not properly configured, add phar to suhosin.executor.include.whitelist in your PHP configuration.

On checking the php.ini, there is no suhosin.executor.include.whitelist entry and nothing else with suhosin. There are no other Suhosin related config files either. 

So the issue can easily be resolved by installing Suhosin and changing the php.ini configuration. Please follow the steps below:

First, we need to install Suhosin on our cPanel server.

/scripts/phpextensionmgr PHPSuHosin

Once the installation is done, add the following directive at the end of the php.ini file.


That’s it!