I've just installed apache, php and curl to my computer. But I think there is something wrong with cURL with Php5.6. Actually I can install composer with ignoring the warnings but I will not be able to use composer then.
I get this:
curl: (60) SSL certificate problem: unable to get local issuer certificate
When I run this:
curl -sS https://getcomposer.org/installer | php
Peace..
Try to update your local certificates:
sudo update-ca-certificates
or
cd /etc/ssl/certs
sudo wget http://curl.haxx.se/ca/cacert.pem
And then use this cert file on the command:
curl -sS https://getcomposer.org/installer | php -- --cafile=/etc/ssl/certs/cacert.pem
All in all: your pull new certs and use this on the cURL command on the CLI.
The next step is to get the cURL PHP extension working.
php.ini
curl.cainfo=/etc/ssl/certs/cacert.pem
openssl.cafile=/etc/ssl/certs/cacert.pem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With