I installed php7.2.2 from source, and started obtaining mssql extension by pecl install sqlsrv
. It responded to pecl search sqlsrv
, but notified me to run pear channel-update pear.php.net
, after which both search and install failed to work with this error message:
Connection to `ssl://pecl.php.net:443' failed: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
I read all kinds of suggestions like
http://forums.devshed.com/php-development-5/ssl-issue-pear-channel-update-pear-php-net-970623.html
and
SSL issue after pear channel-update pear.php.net ,
but I have no "openssl.so" library anywhere (somewhere I read php7 deprecated it), php -r "print_r(openssl_get_cert_locations());"
finds the function undefined, and referencing a downloaded openssl.cafile=/opt/php/lib/php/extensions/no-debug-non-zts-20170718/cacert.pem
from http://curl.haxx.se/ca/cacert.pem in php.ini (unsurprisingly) proves futile.
What is going on if it worked fine before that silly update?