Linux Apache MySQL Php server , this script will install them for you .
https://www.github.com/dorshamay/automation
The script is under LAMP.sh, you just need to give it permissions to run and Enjoy!
The script has been tested on Debian Stretch(9.0) and on CentOS7.
You can always put Issues if you see problems with the script, or you have a suggestion to get the script better.
This script is my masterpiece so please if you getting my script to your system and using or editing it , don't forget to put Credits to my Github Account.