This issue can easily be resolved by installing Suhosin and changing the php.ini configuration. Please check the steps below:
First, you need to install Suhosin on your cPanel server.
/scripts/phpextensionmgr PHPSuHosin
Once the installation is completed, please add the following directive at the end of the php.ini file.
suhosin.executor.include.whitelist="phar"
That’s it!