Search code examples
sshcloud-hostingcomposer-php

Composer returns ???? on CloudLinux ssh


i've just installed composer through ssh on a CloudLinux server, and but it returns ??? when used. I installed it with

curl -s getcomposer.org/installer | php -d detect_unicode=Off

because my server apparently has detect_unicode=On

This is basicly how what it spits out when I type php composer.phar

[email protected] [~/public_html/somefolder]

Did I forget something? Is this because of detect_unicode?


Solution

  • It is because of detect_unicode. You most likely don't need this setting on, and having it enabled messed up the phar handling.