Installing ?omposer on cPanel Issue
Server running WHM/cPanel v68.0.29. As composer is now included globally with ?panel, I'am login SSH as a cpanel user and try to use composer, but nothing happens:
host@host [~]# composer --help
host@host [~]# composer diagnose
host@host [~]#
on another server with the same version of the Cpanel and CloudLinux, it's all right. What could be the reason? The version of php set to 7.1 with PHP Selector. Directive
allow_url_fopen On
are chosen in CPanel (as reccomended in documentation How to Set Up (PHP) Composer - cPanel Knowledge Base - cPanel Documentation.
Unfortunately for the first time I try to use a Composer, I do not understand what it needs.
-
Update. As root: composer - V Fatal error: Class Phar not found in / opt / cpanel / composer / bin / composer on line 23 0 -
Hello, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you. 0
Please sign in to leave a comment.
Comments
2 comments