Skip to content

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

@jrfnl

Description

@jrfnl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions