Update bin/composer.phar to 1.10.20 to allow upgrading using php8#4
Open
jasonkfirth wants to merge 10000 commits intoduthied:masterfrom
Open
Update bin/composer.phar to 1.10.20 to allow upgrading using php8#4jasonkfirth wants to merge 10000 commits intoduthied:masterfrom
jasonkfirth wants to merge 10000 commits intoduthied:masterfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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."