Closed zanerock closed 9 years ago
Never mind, even though the install does not complain, it still fails if PHP built with curl, so it's not a useful workaround.
The right solution is to update cacerts chain in your operating system. This is for debian/ubuntu operating systems.
sudo update-ca-certificates
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.
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
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.