Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

SANs not supported PHP < 5.6 #6

Open
waltertamboer opened this issue Dec 21, 2015 · 1 comment
Open

SANs not supported PHP < 5.6 #6

waltertamboer opened this issue Dec 21, 2015 · 1 comment
Labels

Comments

@waltertamboer
Copy link

Github has a certificate that matches multiple domains. PHP versions less than 5.6 will not be able to handle this properly with a stream context. The only solution for this is to use CURL since curl supports this out of the box.

Maybe this should be added?

I encountered this problem when writing a self-update command using the phar-updater.

@padraic
Copy link
Collaborator

padraic commented Jan 7, 2016

@waltertamboer It should be. It won't be perfect since not all systems will have curl, but it's better than doing nothing! My time is freeing up here a bit....finally. I'll try to get to it at the weekend. The better solution is for PHP 5.3, 5.4 and 5.5 to waddle off into the sunset. Not likely to happen soon, I admit!

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

No branches or pull requests

3 participants