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
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)... 184.108.40.206 Connecting to pear.php.net (pear.php.net)|220.127.116.11|: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