Installer always fail
karolszabatis opened this issue · 1 comments
karolszabatis commented
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --version=2.6.5
PHP Parse error: syntax error, unexpected token "::", expecting variable in Standard input code on line 1341
Example from https://getcomposer.org/download/ not working
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '534b38ba7a0fb38161b76e8e8b1324ab24d7b7a13e5b8efc6ccd4ade79706bc932257cd69f4dfcc69413c975ff088c2f') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Installer verified
PHP Parse error: syntax error, unexpected token "::", expecting variable in /home/backend/var/log/app/composer-setup.php on line 1341
`
GamesmenJordan commented
Duplicate #232 - all reported at the same time