Answer the question
In order to leave comments, you need to log in
How to get rid of "ERROR: no certificate subject alternative name matches" error when installing PHP7?
I'm trying to build and install PHP7 on Ubuntu 14.04. I managed to build
it, but after make install I get an error:
Installing PEAR environment: /root/php7/usr/lib/php/
--2015-12-04 11:34:28-- https://pear.php.net/install-pear-nozlib.phar
Resolving pear.php.net (pear.php.net)... 5.35.241.22
Connecting to pear.php.net (pear.php.net)|5.35.241.22|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name 'pear.php.net'.
To connect to pear.php.net insecurely, use `--no-check-certificate'.
make: *** [install-pear] Error 5
Answer the question
In order to leave comments, you need to log in
Makefile 443 line, can be changed
on the
PEAR_INSTALLER_URL = http://pear.php.net/install-pear-nozlib.phar
Feeling that your root certificates are rotten, update the entire system
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question