The classic open source Apache Server together with PHP5 is easily installed and configured on Linux Mint, using the rather wonderful
apt-get command. Note the Linux Mint system must be able to access the internet to grab the required files..
1. Install Apache2
sudo apt-get install apache2
1a Check Apache is working - open a web browser and point it to the Linux Mint system..
If everything is good you will see the following, heart-warming message in your web browser..
2. Install PHP5 and its dependencies
sudo apt-get install php5 libapache2-mod-php5
2a. Restart Apache to make it include the PHP modules
sudo /etc/init.d/apache2 restart
- A.