Free-Friendika icon indicating copy to clipboard operation
Free-Friendika copied to clipboard

Update bin/composer.phar to 1.10.20 to allow upgrading using php8

Open jasonkfirth opened this issue 4 years ago • 1 comments

I had to update the composer installation in /bin to 1.10.20 to successfully upgrade using php8. I used the instructions at https://getcomposer.org/download/ to do so.

In the php directory, I ran: php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php composer-setup.php --version=1.10.20 php -r "unlink('composer-setup.php');"

Afterwards I was able to run bin/composer.phar --no-dev install successfully.

I did find that About Site/Version Info still seems to think I haven't ever run /bin/composer.phar, because it says "Vendor path not found. Please execute "bin/composer.phar --no-dev install" on the command line in the web root."

jasonkfirth avatar Mar 01 '21 17:03 jasonkfirth

Just so you know, this is an abandoned repository. Please close this and submit pull requests here:

  • https://github.com/friendica/friendica/pulls

bkil avatar Feb 24 '22 13:02 bkil