sudo apt-get install lamp-server^
as of March 18, 2017:
MySQL version: 5.7.17
PHP version: 7.0.15
DO NOT remove the complete Lamp package using:
$ sudo apt-get --purge remove lamp-server^
$ sudo apt-get remove lamp-server^
because lamp-server^ is a Meta Package. It will install many dependencies as part of LAMP server. So if you remove it using apt-get, It will remove all those dependencies along with SSH server/OpenSSH Package and you will lose connection to your server through SSH.