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

"Broken cURL install" message is not being displayed #327

Closed
jrfnl opened this issue Aug 4, 2021 · 2 comments
Closed

"Broken cURL install" message is not being displayed #327

jrfnl opened this issue Aug 4, 2021 · 2 comments

Comments

@jrfnl
Copy link
Contributor

jrfnl commented Aug 4, 2021

Follow up on #143 which reported the following error message:

[ERROR]    Unexpected HTTP error: SSL certificate problem: unable to get local issuer certificate (while requesting https://phar.io/data/repositories.xml) (Code: 60)

Quoting @theseer, the error can be solved by:

One potential way to fix this is by downloading the cacert.pem provided by CURL and setting its path in the php.ini by having it contain curl.cainfo="/path/to/downloaded/cacert.pem".

And I can confirm that doing so solves the issue.

An additional, more informative error message was added in 74a2f55

However that message does not display (which is why I went searching for more info in the issues and found issue #143).

Discovered while running on PHP 7.4.21 with Phive 0.15.0.

image

@theseer
Copy link
Member

theseer commented Aug 5, 2021

That - of course - was a rather stupid bug ;)

Thanks @jrfnl!

@jrfnl
Copy link
Contributor Author

jrfnl commented Aug 5, 2021

😂 Aren't the majority ? Thanks @theseer for your swift action!

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

No branches or pull requests

2 participants