Want To Install Apache, Mysql, Php And Perl And Didn't Know How? - Installing Apache Web Server on Windows XP

free web hosting
Free Web Hosting > Computers & Tech > How-To's and Tutorials > MISC (no matching category)

Want To Install Apache, Mysql, Php And Perl And Didn't Know How? - Installing Apache Web Server on Windows XP

mastercomputers
Installing Apache Web Server on Windows XP

This article deals with installing Apache Web Server on Windows XP. This guide is easy to follow, for everyone to make use of it and it will help you have your very own personal web server for local web designing and development.

Out of the numerous web servers on the internet, none of them prevail as the open source Apache web server does, the majority of all web servers out there run on Apache. This should make perfect sense to why I chose to use this server, because I want to familiarise you with the most widely used web server.

To get ourselves up and running quickly, we will be using the easy to install distribution known as XAMPP to ease our troubles. I could show you a step by step basis, of installing each component but because this is primarily aimed at beginners but suitable for everyone to use, we needed an easy way to do this. If you are familiar with XAMPP then you may not need this guide, since all I do is outline how to install it and later on if people still have problems, I would like to help them out in this thread, so if you do have problems with my steps and something isn't going right for you then ask in here and I'll try to help you out.

Many people know from their own experience that it is not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and PERL.

XAMPP is an easy to install Apache distribution containing MySQL, PHP and PERL as well as some other programs that provide more features you can take advantage of. XAMPP is really very easy to install and to use it - just download, extract and start.

Please Note: XAMPP is configured with all features turned on, From a security point of view, this default configuration is not secure enough for a live production environment. Do not run XAMPP for this type of environment. (Unless you know how to configure it correctly)

What You Will Need

ProductVersionSizeDownload
XAMPP Windows [Basic package]1.5.532.9MBInstaller


What You Need to Do

Start off by downloading the XAMPP installer and save it to your Desktop or a location that will be easily accessible to you. We will be using the desktop for this tutorial. For the latest version of XAMPP you should check out the XAMPP for Windows website for a more uptodate version.

Getting Started

I will now run through the installation process with you, I am providing images to illustrate the steps, but remember things may look different for you since not everyone's computer is exactly alike.

Now that we have downloaded the XAMPP installer, we run the program by using the left mouse button and double clicking on the icon for xampp-win32-1.5.5-installer.exe, this will start verifying the file integrity, if the download is corrupted this will let you know and you should re-download the file again. It will then present us with the Installer Language dialog box. I will be using English, if you use another language then see if they have your language there but this tutorial will remain with the English version.

IPB Image

Next up you will be presented with the welcome screen which starts off the Setup Wizard that will guide you through the installation, I'm just trying to give you a sense of what's going on but you can ignore me and follow the Wizard if you're comfortable, but if things go wrong, you can check back or ask here. To save me repeating what it says though, please be sure to read it as XAMPP does make this quite easy to install.

IPB Image

After clicking on Next you are now presented with the install location screen which is the location you'll pick, that you would like XAMPP to be installed at, the default location is C:\Program Files\. Due to my computer configuration, I'll be using E:\Program Files\ which is where I store all my programs, but you should have no problems leaving it as default.

IPB Image

After clicking on next, another screen appears, this time it's the XAMPP Options, the default does not automatically run Apache and MySQL on start up, so we should change it so that it does, unless you are comfortable with starting it manually. If you aren't comfortable, then check Install Apache as service and Install MySQL as service.

IPB Image

After you click install, it starts installing XAMPP by extracting the files to the location you picked for installation. This could take a while depending on your system specifications, so why not make yourself something to eat, or have a cup of your favorite beverage. If you made it this far, then you should celebrate. Just be patient while it is installing. Do not be alarmed if more Windows pop up during this process, this is part of the installation routine for installing PHP.

XAMPP should now be installed and we can leave the Setup Wizard.

IPB Image

The final steps installs the services, to make sure that Apache and all the features are installed correctly and work, during this stage you may see more pop ups, this is to be expected. If running Windows Firewall or any other firewall, you may receive a Windows Security Alert/Warning about it wanting to block Apache, just click on Keep Blocking or Deny, or whatever allows your firewall to stop it allowing access over the Internet.

IPB Image

We should now be notified that the services installed correctly.

IPB Image

We are finally finished, another dialog box appears congratulating us. We are then asked if we would like to start the XAMPP Control Panel, and Yes we do.

IPB Image

The XAMPP Control Panel allows us to control which services we want running, the location we installed XAMPP. The important part is what we have running though. We should have Apache and MySQL running, if you think you need FileZilla (FTP server) or Mercury (Mail Transport Agent, like sendmail) then you can start them through this control panel. You can either exit or left click in the taskbar system tray (near the clock iun the corner) the XAMPP icon to minimise the control panel to the tray.

IPB Image

To test if everything is installed, we now open up our web browser (Internet Explorer, Firefox, Opera, etc) and type in the address bar http://localhost/ and we should be presented with the XAMPP splash screen, select your language.

Explore around this area, familiarise yourself with everything presented here, your own personal web server is now installed. I wish I could talk more about this area but to not throw you in the deep end yet, I should show you how to test your own pages out first.

Lets test it

I want you to open up notepad, inside I want you to type or copy and paste this:

CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>My Index Page</title>
  </head>
  <body>
    <h1>My Index Page</h1>
    <?php echo '<p>This is my index page test.</p>'; ?>
  </body>
</html>


Save this file as index.php inside C:\Program Files\xampp\htdocs\ and then try http://localhost/ again in your web browser to see if it works. This should be a simple HTML page that has one heading and a paragraph that is created by PHP, this should show PHP is working fine. To get back to the XAMPP page, you will now be required to type http://localhost/xampp/ in your web browser.

The End, Well Done

Now you have your very own web server installed and can begin working on your own web site locally.

Thank you all for reading.

MC

P.S. I needed hosting credits.

 

 

 


Reply

Jimmy89
great tutorial! you explained everything well and showed all of the steps of the XAMPP setup! the steps that you described are exactly as i remember it from installing XAMPP!

you could also go into some detail about the options of each of the components and how to setup your server once its installed and running! but that could be a different tutorial.

well done
-jimmy

Reply

Mark420
Yeah nice Tut Master.
I have set up Apache, PHP, MySQL, Samba, FTP Servers soo many times as individual servers on my workstation so I know how much time and how much agony it can be getting all these things configured correctly to all work together.
Also I have had to do it cross platform a lot of the time cos my station is windows and linux on a dual boot for about the last 6 years.
I cannot praise enough multi server deployment packages like XAMPP and Lampp for Linux, they really cut down the time and agony!!
IT is very good also if your playing around with a CMS site because everything can be done locally instead of having to take up bandwidth all the time and doing it on the servers here.

Yeah like Jimmy said if you need more credits then make another Tut about the post install config and the Xampp server control app that you can run as a service.

Reply

Lewisthemusician
Kl. This is really helpful and will help me alot in creating my site.

Thanks For Your Help and contribution

-Lewis

Reply

rockarolla
I still can't get PhP working on my windows XP home...I don;t have the server applications as they are not included in the home edition.

If someone has an id how to do it please reply ...

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : install, apache, mysql, php, perl, didnt, installing, apache, web, server, windows, xp

  1. Php And Mysql Extension Installation
    (0)
  2. Set Up You Own Web Server With Php, Mysql, Asp.net, And Ssl
    How to set up a full feature web server (0)
    Ok this is a long one so get relaxed. Note: the software in this tutorial are mutil-platform tool
    BUT this tutorial is for windows Well first you need a server. I will be using Abyss Web server
    that can be downloaded for free. Run the installer and make sure all components are checked to be
    installed. When prompted about startup config you can pick what right for you. Note: i don't
    recommend installing it as a Windows service because there is no GUI when it is running as a service
    Then run the server if it is not running. Once a config file has be created it ....
  3. Half Life Dedicated Server
    (1)
    Window hldsupdatetool installation First you would need to download and install the tool here
    Install the hldsupdatetool in the C:/hlds or which ever drive you choose. Now to install the server
    you want to host. Go to Start > Run > cmd > cd\ > cd hlds and run the hldsupdatetool.exe. To
    install counter-strike 1.6 server type hldsupdatetool.exe -command update -game cstrike -dir c:/hlds
    and it will download the files to run a counter-strike 1.6 server. To see a list of game use the
    hldsupdatetool.exe -command update -game list . Linux hldsupdatetool Installat....
  4. How To Set Up A Dedicated Server
    Counter-Strike dedicated server setup (27)
    Ok, i made this short tutorial on how to start a dedicated server in counter-strike. Hope everyone
    finds it useful. Required software: Steam Counter-Strike 1.6 / Condition Zero Dedicated
    Server (Found in Steam > Tools) First, you haave to make sure ur router is configured with all
    hlds ports forwarded to your ip address. To access your router, you type the default gateway address
    (E.g. 192.168.1.1) in internet explorer and enter your details when prompted. Then navigate your way
    till you find a section called 'port range forwarding', usually found in ....
  5. How To Setup Your Own Server
    Beginner Guide using Windows (8)
    Ever wanted to run a server from your own home, using a spare or older PC? Hopefully this guide will
    help you get started. This doesn't get into using any other operating systems other than
    Windows- it's meant as a guide for beginners. This method can be used to run a game server (LAN
    or WAN), an FTP server, or even a webserver. Obviously, apart from the hardware, you will need
    select software to make this happen. Here is a list of some of the software I use: Windows 2000
    Professional (SP4). Any of the latter server editions work fine, but I prefer Windows 20....

    1. Looking for install, apache, mysql, php, perl, didnt, installing, apache, web, server, windows, xp

Searching Video's for install, apache, mysql, php, perl, didnt, installing, apache, web, server, windows, xp
advertisement




Want To Install Apache, Mysql, Php And Perl And Didn't Know How? - Installing Apache Web Server on Windows XP



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE