Installing PHP7-FPM with Apache2 Worker on Ubuntu
First add some prerequesites and add the PHP7 repository:
apt-get update
apt-get install software-properties-common python-software-properties
LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php-7.0
Then install the actual PHP packages (remove those form the list that you do not need):
apt-get install php7.0-fpm php7.0-cli php7.0-common php7.