Jump to content

Installing XAMPP part 1, a PHP capable server package

- - - - -

  • Please log in to reply
11 replies to this topic

#1
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
Hello there!
In this tutorial I'm going to guide you through installing XAMPP, XAMPP is a basic server package containing Apache, PHP, MySQL and some other useful tools. In this part I will guide you through downloading and installing XAMPP in part 2 I will show you how to secure your server and write your first script! This tutorial should work with all versions of Windows (XP+ at least).

Just a note: Sorry about the images, all the image hosts I know rebuffed them with "invalid file" and "error" messages.

First we need to navigate to apachefriends.org/en/xampp-windows.html.
Attached File  Part1.png   142.17K   56 downloads
Now scroll down to find the windows link.
Attached File  Part2.png   59.02K   27 downloads
Clicking on it will redirect you to another page, scroll down until you find the installer download link (pictured).
Attached File  Part3.png   53.04K   36 downloads
This will take you to source forge where the download will start (I recommend you ignore the "Run a free scan now" messages, but hey its a free world!).

Once the file has downloaded locate it and double click on it starting the installer (you may get a few security warnings). You will be prompted to choose a language, I'm going to choose English, Once the installer dialog pops up click "next".

I recommend you go ahead and install XAMPP in c:/xampp/ (Windows Vista+ has a giant tantrum about C:\program files) , click next.
EDIT: Do NOT install XAMPP in C:/Program Files/ under ANY circumstances, Windows holds allot of restrictions on the way these files can be manipulated. This will make it hard for XAMPP to run and hard for you to work within your htdocs directory (the folder that contains your website).
Attached File  Part4.png   37.96K   45 downloads
Choose where you want the shortcuts for XAMPP, I'm going with both options. Also choose which applications you want to be services, I recommend you make Apache and MySQL services (this means they run in the background and start with your computer- You can do this for FileZilla FTP server if you wish).

Click "Install" and XAMPP will begin to install, in other words a ton of text will move up the screen!
Once the text stops moving a CMD box will pop up, wait for it to vanish then click "Finish". The programs you made services will all start in CMD boxes just ignore them they go away pretty fast.

YAY! You did it, in the next tutorial we will get the server secure and make are first PHP application/web page!
Part 2
http://forum.codecal...p-part-2-a.html

Edited by bbqroast, 26 June 2011 - 04:09 PM.

Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
Nice looking tutorial bbqroast (I do like the screenshots), I am looking forward to your next tutorial.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
Just finished it, I'll link it as soon as it gets approved!
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
Very nice, I have approved it.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#5
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
Glad you did I installed Ubuntu (again) Virtual Box and then Windows XP to make this, and don't even ask me about cropping!
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#6
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#
One thing, maybe it should advice stronger that it's not a good thing to install it in c:\program files as many people know (or been told) is the place to install things, as it needs extra permissions in Vista/7 to edit files there... so c:\xampp\ really is the best place for it... good tut otherwise!
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#7
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
Errr,
I did install it in C:\xampp didn't I?
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#8
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#
Yepp, you did. But read what I said. Some ppl has been taught to install everything in C.\Program files\ whatever a tutorial says. It was more of a remark to those ppl that it shoudn't go there.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#9
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
Taught to install everything in C:\Program Files\
Who would teach someone that???

Most people at my school install in their D: drives now because the school thinks 40 Gigabytes is enough to hold the odd hundred pieces of software they pre-install (I've only ever used two of them!). So I don't really notice people doing that...
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#10
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
nice tutorial
+rep
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript

#11
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
Thanks, I will look at some other tutorial ideas- probably MySQL based...
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#12
A3MIRAL

A3MIRAL

    Newbie

  • Members
  • PipPip
  • 14 posts
I use this when i program on Windows 7 (as opposed to my linux mint setup) and i love it!
It does all i need it to do for windows, as i only use windows for deving when i have a limited time frame.
Also, the USB version is very useful for dev's on the go (bring a flash drive with your updated files from your usual pc with dropbox to another computer, do some work, and copy the whole webserver root back into dropbox. works like a charm when using multiple os's and computer/ipods (in my case, i program with ipod a lot))




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users