Configure LAMP and How to fixing Apache issue ServerName issue.
There are lots of tutorials available for Apache,MySql and PHP installation on linux and Windows.
But I prefer the simple one for Debian.Command will not work without caret(^).
sudo apt-get install lamp-server^
Now,This will download and install the Apache,PHP and MySql.
step1 : test "localhost" in browser. Works !!
step2...