Installer did not work on LEAP
jimrome opened this issue · 3 comments
php --version
PHP 8.0.25 (cli) (built: Oct 31 2022 12:00:00) ( NTS )
jarfx:/srv/www/htdocs # wget https://getcomposer.org/installer
--2022-12-14 09:34:44-- https://getcomposer.org/installer
Resolving getcomposer.org (getcomposer.org)... 142.44.245.229, 2607:5300:201:2100::4:d105
Connecting to getcomposer.org (getcomposer.org)|142.44.245.229|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58140 (57K) [application/octet-stream]
Saving to: ‘installer’
installer 100%[========================================>] 56.78K --.-KB/s in 0.05s
2022-12-14 09:34:45 (1.22 MB/s) - ‘installer’ saved [58140/58140]
jarfx:/srv/www/htdocs # chmod +x installer
jarfx:/srv/www/htdocs # ./installer
./installer: line 1: ?php: No such file or directory
./installer: line 3: /Lacie: Is a directory
./installer: line 4: favicon.ico: command not found
./installer: line 5: favicon.ico: command not found
./installer: line 6: syntax error near unexpected token c' ./installer: line 6:
* (c) Nils Adermann naderman@naderman.de'
Sorry but not sure what LEAP is, nor what we can do about it..
OpenSUSE Leap 15.4 linux
It did work using composer.
Curious why the shebang in installer wouldn't work for you.. But invoking with php installer explicitly should also resolve it