Compiling PHP7 and is down! Oh no!

Don’t panic, simply open the /tmp/php-src/Makefile with an editor and search and replace with

Or just use the following sed:

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

Installing PEAR environment:      /usr/local/php7/lib/php/
--2015-12-03 11:24:08--
Resolving (
Connecting to (||:443... connected.
ERROR: no certificate subject alternative name matches
    requested host name ‘’.
To connect to insecurely, use `--no-check-certificate'.
make: *** [install-pear] Error 5