After cloning a repository on Ubuntu 14.04 with PHP 5.6.3 I am unable to run php composer.phar selfupdate
neither php composer.phar update
. I get t
One cause of this might be that certs are missing or not found by PHP.
Is the ca-certificates
package installed?
If not: apt-get install ca-certificates
or simply download the certificate bundle from here:
Then check and edit your php.ini
, so that these certs are used for the SSL connection made by PHP.
curl.cainfo=/path/to/ssl/certs/ca-bundle.crt
openssl.cafile=/path/to/ssl/certs/ca-bundle.crt