Linux LAMP (Linux, Apache, MySQL, PHP)
Install Apache sudo apt-get install apache2 Testing Apache http://localhost/ Install PHP sudo apt-get install php5 libapache2-mod-php5 Step: Eventually you need to: sudo /etc/init.d/apache2 restart Test PHP Step: Let's test if PHP is working correctly. sudo nano /var/www/index.php or... sudo echo “<?php phpinfo(); ?>” > /var/www/index.php Step 3. Save and close the file. Step 4. Now open you're web browser and type the following into the web address: http://localhost/index.php (It will show you the page that has all information about your php. If you have prior experience of installing php in some other OS, you must have seen this page.) Congrats you have now installed both Apache and PHP! Install MySQL To finish this guide up we will install MySQL. Step 1. Once again open up the amazing Terminal and then copy/paste or type this line: sudo apt-get install mysql-server Step 2 (optional). In order for other computers on your network to view the server you have cre...