Próbowałem rozpocząć instalację kompozytora za pomocą każdego z tychBłędy składni podczas instalowania programu Composer?
sudo -u myuser curl -sS https://getcomposer.org/installer | php
sudo -u myuser curl -s https://getcomposer.org/installer | php -- --check
Ale zarówno dać mi
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
ktoś widział tego wcześniej?
biegnę Linux 3.1.9-vs2.3.2.5vs2.3.2.5 + i PHP 5.2.17 (CLI)
Dziękuję za odpowiedź! Jest tak z pewnością - wielokrotnie mówiłem z moim gospodarzem o tym, kiedy wersja PHP PHP zostanie zaktualizowana. Żadne witryny na serwerze nie mogą już używać wersji 5.2, ale 5.3 nie jest dostępny z wiersza poleceń. Czuję się bardzo głupio, że wcześniej tego nie zauważyłem: https://getcomposer.org/doc/00-intro.md#system-requirements – jerrygarciuh