A great tutorial to do so can be found here:
https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-lamp-on-debian-jessie/
Please remember to prefix the commands with sudo or use an elevated privileges user. A nice touch not found in other tutorials is the recommendation to install APCu PHP Cache.