S
S
Silm2015-12-04 19:41:39
linux
Silm, 2015-12-04 19:41:39

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

5 answer(s)
M
moondog, 2015-12-05
@Silm

Makefile 443 line, can be changed
on the

PEAR_INSTALLER_URL = http://pear.php.net/install-pear-nozlib.phar

P
Puma Thailand, 2015-12-04
@opium

Feeling that your root certificates are rotten, update the entire system

A
Andrey Burov, 2015-12-04
@BuriK666

The problem is not with you, but with https://pear.php.net

E
Eugene, 2015-12-04
@Nc_Soft

Why did everyone run to put 7?

S
Softer, 2015-12-04
@Softer

--without-pear
I tried to fix the Makefile, but then a 404 arrives.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question