Symptoms
When running any commands with "composer" in them, there is no output at all, and it just fails to accomplish anything:
[root@cPServer ~]# composer OPTIONS
[root@cPServer ~]#
Description
This issue might be caused by the Suhosin PHP extension in the PHP package.
Workaround
Consider running the following command as root to whitelist the "phar" extension in Suhosin for your PHP version.
Please note, you'll need to change "ea-php74" to the version of PHP that you intend to use.
echo "suhosin.executor.include.whitelist = phar" >> /opt/cpanel/ea-php74/root/etc/php.d/300-suhosin.ini
You can also read more in our documentation on this subject:
Additional resources for troubleshooting composer can be found below:
Comments
0 comments
Article is closed for comments.