Setup Apache2.2, PHP5, and MySQL in one step with Windows XP

Apache2Triad logoSetting up Apache and PHP can be difficult, especially using Windows XP. However, there is a free software application that can automate the process for you. This software is called Apache2Triad. Apache2Triad streamlines the entire process and no configuration is needed. I will walk you through the simple process of installing Apache2Triad so you can host your own webserver.


The first step is to download Apache2Triad from Sourceforge (the install file is 95.8MB). The following is the link to the newest release of Apache2Triad:

Apache2Triad 1.5.4 via Sourceforge.net.

Apache2Triad screenshot 1

The second step is to install Apache2Triad. On the first install screen (shown above) do not change anything and choose next. On the second install screen (shown below) leave the default location and choose next.

Apache2Triad screenshot 2
On the next screen, enter a password that you can remember and click next. Lastly, after you agree to the GNU General Public License the install will begin (shown below). The install will take a few minutes.

Apache2Triad screenshot 4

When the installation is nearing completion you will be given a prompt to “press ok to do post configuration.” After you press ok, several command prompt screens will flash open and close (don’t worry, it’s just part of the normal installation). Lastly, a command prompt will stay open and request that you enter the password you chose.

Apache2Triad screenshot 5

After you enter your password another command prompt screen will open and Apache2Triad will setup MySQL. This is the last step and Apache2Triad will request a reboot — hit OK.

After your reboot, Apache will load automatically. If you send your browser to http://localhost and you will see a list of folders. Anything you want to put on your server should be put in the folder “c:/apache2triad/htdocs” and it will appear in http://localhost/htdocs.

Trackbacks & Pings

Comments

  1. There are also other WAMP distributions, like the Web-Developer Server Suite that will setup Apache 2.2, PHP5, and MySQL. They differ in a few places. See what works out for you the best.

  2. I’ve tried both Triad and Web-Developer Server (mentioned in the above comment). IMHO Web-Dev is the far superior build. Very useful and easy to use.

  3. Hi Jesse,
    I’m planning of setting up my own WAMP-server. Could you please tell me more about why Web-Dev is superior over Triad, so I can make a better choice between the two?

  4. Jasper, Another popular WAMP stack is XAMPP (http://www.apachefriends.org/en/xampp.html). That’s the one recommended for use with DelphiForPHP. My not-ready-for-prime-time review of DelphiForPHP should not reflect on XAMPP. XAMPP seemed to work perfectly well. My only negative impression of XAMPP was that the universal control panel they provide seemed to be a bit underpowered — but I’m a control freak, so take that with a grain of salt. :-)

  5. if i want to see my phpmyadmin i need to fill in my username and password but i dont have these. where can i find the password and username?

  6. anonymous: The user name and password would have been established in the MySQL database at the time that your database was created. Then, whatever application that you have running that uses the database will have been configured with the user info so that the application can work with the database. Look for something like “config.php” or “config.inc”.

Post a Comment


Your email is never published nor shared. Required fields are marked *



© 2006-2007 Maxim Software Corp.  All rights reserved.