Posts Tagged PHP

XAMPP Setup

In this tutorial we’ll get XAMPP setup so we can start coding websites.

XAMPP for Linux
Download XAMPP from ApacheFriends. You can put it in your home directory.

Open up a terminal and run this command

tar xvfz xampp-linux-1.7.tar.gz -C /opt

This will extract the XAMPP (should be called lampp) directory to /opt. If you already have an XAMPP installation this command will overwrite it so be careful. Now we need to start the LAMP server using this command

/opt/lampp/lampp start

Now everythings up and running. You can test the setup by going to http://localhost in a web browser.

To start a website you need to create a folder in the htdocs directory under lampp. You can make a simple index.html file and put it in the created folder. Now visit http://localhost/your_created_folder and you should see your index.html file.

Read the rest of this entry »

, , ,

1 Comment