Add additional repositories by edit file /etc/apt/sources.list
for each link add contrib non-free
after main
Update:
apt-get update
Optional:
apt-get install mc htop build-essential
Install one command line:
apt-get install nginx-extras php7.0-cli php7.0-fpm php7.0-mysql php7.0-curl php7.0-gd php7.0-json php7.0-mcrypt php7.0-sybase php7.0-mbstring php7.0-redis redis-server mysql-server mysql-client