I have XAMPP on Windows7. after update the pear.php.net channel with:
pear channel-update pear.php.net
and try for installing new packages,
recently I faced this issue with macOS Sierra with XAMPP 7.0
I updated pecl channel wiht
sudo pecl channel-update pecl.php.net
and then I was getting
Connection to `ssl://pecl.php.net:443' failed:
My solution is as below
run php -r "print_r(openssl_get_cert_locations());"
check default_cert_file
path
then download certificate from http://curl.haxx.se/ca/cacert.pem
rename it and place it at default_cert_file
path
then try pecl list-all
it should work fine