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

Added note on common SSL error. #1

Closed
wants to merge 3 commits into from
Closed

Added note on common SSL error. #1

wants to merge 3 commits into from

Conversation

zanerock
Copy link

@zanerock zanerock commented Jan 4, 2015

Any (?) PHP built with curl support will throw errors on the readfile() call; even if built without --with-curl-wrappers. (Tested both PHP 5.6.4.) The solution should be obvious, but did cause some confusion for me, so may be worth a note.

@zanerock
Copy link
Author

zanerock commented Jan 4, 2015

Never mind, even though the install does not complain, it still fails if PHP built with curl, so it's not a useful workaround.

@zanerock zanerock closed this Jan 4, 2015
@Ostico
Copy link
Collaborator

Ostico commented Jan 4, 2015

The right solution is to update cacerts chain in your operating system.
This is for debian/ubuntu operating systems.

sudo update-ca-certificates

@zanerock
Copy link
Author

zanerock commented Jan 4, 2015

In part. Also potentially need to build PHP without 'curl-wrappers' which seem somewhat deprecated, and potentially update 'openssl.cafile=/ca-bundle/path' if PHP doesn't find the CA files.

@Ostico
Copy link
Collaborator

Ostico commented Jan 4, 2015

Yes you're right, but this is an "extreme" configuration and maybe out of my scope.
I've to trust to the composer guidelines installation:
https://getcomposer.org/doc/00-intro.md#locally

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

Successfully merging this pull request may close these issues.

2 participants