Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer on PHP 5.6 #2887

Closed
petk opened this issue Apr 7, 2014 · 3 comments
Closed

Composer on PHP 5.6 #2887

petk opened this issue Apr 7, 2014 · 3 comments
Labels
Milestone

Comments

@petk
Copy link
Contributor

petk commented Apr 7, 2014

Hello,
I get the error below when I install and also use Composer on PHP 5.6.
When doing curl -sS https://getcomposer.org/installer | php
I get the following error:

The download failed repeatedly, aborting.

The error is with SNI_server_name and CN_match:

SNI_server_name is deprecated in favor of peer_name
the 'CN_match' SSL context option is deprecated in favor of 'peer_name'
@Seldaek
Copy link
Member

Seldaek commented Apr 7, 2014

Ah right the code should be upgraded to work with 5.6. In the meantime you can wget https://getcomposer.org/composer.phar (note to self: #2745 should be updated too)

@Seldaek Seldaek added the Bug label Apr 7, 2014
@Seldaek Seldaek added this to the Urgent milestone Apr 7, 2014
@Seldaek
Copy link
Member

Seldaek commented Apr 9, 2014

I fixed it in composer/getcomposer.org@5f82887 - I'd appreciate if you can confirm that the installer works for you now though, because I don't have a 5.6 build to play with yet.

@Seldaek Seldaek closed this as completed Apr 9, 2014
Seldaek referenced this issue in composer/getcomposer.org Apr 9, 2014
@petk
Copy link
Contributor Author

petk commented Apr 9, 2014

Yes, thanks for this update. Installation with curl is now working as it should on 5.6 as well. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants