Written by: Score: 114 votes: 126 Format: Article Installing LAMP (Linux, Apache, MySQL and PHP) On Linux Mint Installing LAMP (Linux, Apache, MySQL and PHP) On Linux Mint Through this tutorial, you'll learn how to Install Apache, MySQL and PHP. If you're a webpage designer or developer and use PHP, mySQL and Apache, you'll be needing these applications to be installed. When I istalled Mint, I was looking for a way to install LAMP and found a tutorial on a website by somebody named 'Cargoship'.
Sep 18, 2013 Step 7: Setup is now ready to install XAMPP. Click Next and wait for the installer to unpack and install selected components. Click Next and wait for the installer to unpack and install selected components.
That tutorial was for ubuntu. But I installed it on my Linux mint, and it is working. In this guide I will show you how to install a LAMP system. LAMP stands for Linux, Apache, MySQL, PHP. The guide is intended to help those who have very little knowlegde of using Linux. We will not cover how to install Linux the L of LAMP, because Linux Mint is already installed in your computer. Install Apache To start off we will install Apache.
Open up the Terminal ( Applications Accessories Terminal). Copy/Paste or type the following line of code into Terminal and then press enter: sudo apt-get install apache2 3. The Terminal will then ask you for you're password, type it and then press enter. Testing Apache To make sure everything installed correctly we will now test Apache to ensure it is working properly. Open up any web browser and then enter the following into the web address: You should see a folder entitled apache2-default/.
![How To Install Elgg On Xampp Linux How To Install Elgg On Xampp Linux](http://www.coldtrick.com/wp-content/uploads/2014/02/install-2.png)
Open it and you will see a message saying 'It works!' , congrats to you! Or something like that!
Install PHP In this part we will install PHP 5. Again open up the Terminal ( Applications Accessories Terminal). Copy/Paste or type the following line into Terminal and press enter: sudo apt-get install php5 libapache2-mod-php5 Step 3. In order for PHP to work and be compatible with Apache we must restart Apache. Type the following code in Terminal to do this: sudo /etc/init.d/apache2 restart Test PHP To ensure there are no issues with PHP let's give it a quick test run. In the terminal copy/paste or type the following line: sudo gedit /var/www/testphp.php This will open up a file called test php.php. Copy/Paste this line into the phptest file: Step 3.
Save and close the file. Now open you're web browser and type the following into the web address: http://localhost/testphp.php.