Compiling PHP7 and https://pear.php.net is down! Oh no!

Don’t panic, simply open the /tmp/php-src/Makefile with an editor and search and replace https://pear.php.net/install-pear-nozlib.phar with http://pear.php.net/install-pear-nozlib.phar

Or just use the following sed:

sed -i 's/https:\/\/pear.php.net\/install-pear-nozlib.phar/http:\/\/pear.php.net\/install-pear-nozlib.phar/g' /tmp/php-src/Makefile

Installing PEAR environment:      /usr/local/php7/lib/php/
--2015-12-03 11:24:08--  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