我试图使用这些中的每一个开始安装composer
sudo -u myuser curl -sS https://getcomposer.org/installer | PHP
sudo -u myuser curl -s https://getcomposer.org/installer | php – –check
但是两个都给了我
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in - on line 381
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in - on line 386
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in - on line 402
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in - on line 640
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in - on line 688
Parse error: syntax error, unexpected T_SL in - on line 814
有人见过这个吗?
我正在运行Linux 3.1.9-vs2.3.2.5vs2.3.2.5和PHP 5.2.17(cli)