docker run -dt —name debian01 debian
docker exec -it debian01 bash
sudo su;cd ~
apt-get update
apt-get install autoconf git make build-essential re2c bison libxml2-dev libssl-dev
git clone https://github.com/php/php-src.git;cd php-src
sudo autoconf
./buildconf --force
mkdir ~/php7
./configure --prefix=/root/php7
make;make install
cd /root/php7/bin/
./php -v
PHP 7.0.4 (cli) (built: Mar 24 2016 19:50:36) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies