Install LAMP stack on Ubuntu using tasksel
Update system and packages by this command:
# sudo apt-get update
Install tasksel using this command:
# sudo apt-get install tasksel
Use this command to install LAMP:
# tasksel
Install Phpmyadmin using this command:
# sudo apt-get install phpmyadmin
Install required packages/dependencies using following commands:
# sudo apt-get install zip
# sudo apt-get install php7.0-intl
Restart Apache
# sudo service apache2 restart