Step 1 : Install Apache
sudo apt-get update
sudo apt-get install apache2
Step 2: install MYSQL
sudo apt-get install mysql-server libapache2-mod-auth-mysql
php5-mysql
Step 3: install php
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
Step 4: Restart Apache
sudo service apache2 restart
you can find your web-server files in /var/www/html Directory
to check installation add index.php file with code
phpinfo();
?>
Check with Firefox http://localhost or http://127.0.01.