Very easy way of installing WordPress on your Windows Box

This article is written for those who wanna install WordPress software as a backup of their blogs on their windows machines. It is just one shot installation for all required softwares such as PHP, MySQL, Apache and etc without individual downloading or manual configuring.

Normally, it’s kinda hard to install and configure PHP, MySQL, Apache on Windows. You have to download each and every packages. You may need to download the separated packages (eg: UI and Service) for some softwares. You may need to configure some files (eg: *.ini) manually. It’s kinda troublesome.

Now, the way that I show you is very simple. You only need to download one package and this package will install and configure all softwares that you need. This post is not just for installing WordPress locally. You can use this post as a reference for installing PHP, MySQL , Perl and Apache on your windows.

Okay. Let’s start!

First, you need to download one useful tool called XAMPP.

What is XAMPP?


XAMPP website said that ~

Many people know from their own experience that it’s 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. XAMPP is really very easy to install and to use – just download, extract and start.

XAMPP is a tool that helps you to install MySQL, PHP, Perl, Apache and some more useful PHP applications (eg: phpMyAdmin) on your OS in very easy way without configuring anything. It works on Windows, Mac, Linux and Solaris. However, this post is created for Windows users only and all screenshots are captured on Windows Vista.

Installing XAMPP ver 1.6.2 (PHP 5.2.2 and 4.7.7, MySQL 5.0.41, Perl and Apache)

Note for those who has installed IIS on your machine: Before installing XAMPP, it is better if you stop IIS (Internet Information Service ) because Apache Web Server will be used port 80 so that if IIS is currently using that port then Apache won’t be able to start the Service.

1. Download xampp-win32-1.6.2-installer.exe from this link. and Click the installer.

XAMPP - Wrantty

( The Wranning Messagebox will be shown if your OS is Windows Vista. Just click “OK” but Ensure that you install this package in the location that you have “Write” permission. If you are not sure about that, please just install “C:\xampp\”)

XAMPP - Welcome

2. Click “Next”

XAMPP - Choose Location 3. Click “Next”

XAMPP - Options

4. Check all three checkedboxes under Service Section. And Click “Install”


(Wait 1 or 2 minutes while installing. )

XMAPP - Finished

5. Click “Finish” button to finish the installation.

This is all about installing PHP, MySQL and Apache on your machine. The picture below is the directory structure of XAMPP that you just install in your machine.


Let’s start installing WordPress in your machine.

Installing WordPress in your machine

1. Download zip file from And Extract it in your machine. Then, Copy and Paste it under htdocs folder of XAMPP installation. (eg: C:\xampp\htdocs\)

2. Type “http://localhost/phpmyadmin/” in your favorite browser.

3. Type “wordpress” in “Create New Database” textbox and click “Create” button. (The new database called “wordpress” will be created in MySQL database.)


4. Type “http://localhost/wordpress/” in browser (The following screen will be shown in your browser.) Click “create a wp-config file through a web interface”.


5. Click “Lets go” link


6. Click “Submit” button. (You should note that the default password of MySQL Server is blank and the default user name is “root”. If you have the custom user name and password then please fill accordingly.And ensure that you have “Write” permission to wp-config file and WordPress folder.)


7. Now, you have finished configuring wp-config file and you are ready to start installing WordPress in your machine. In order to start the installation, click “run the install” link.


8. Fill the title of your blog and your Email address. You can also check whether you want your blog to be visible in Search Engines. This option is not important since you are installing WordPress in your local machine with the purpose of backing-up your blog or personal uses. Then, Click “Continue to Second Step” button.


9. It will show you that the database has been created and the default has been filled. It will give you the admin user name and the generated password for admin user. (I would suggest you to change this generated password to something that is easy to memorize for you.)


Now, the installation is done with a few steps. You can start log-in to your wordpress. :)

Thats all about installing php, mysql, apache and wordpress installation on Windows. It is sooo easy, isn’t it? :) Let me know if you have any idea or comment for this post… Thanks for reading..

15 Replies to “Very easy way of installing WordPress on your Windows Box”

  1. A good one. I am now expecting you will give a tutorial on how to differnt plugins in word .. best ways to optimize mysql and most importantly if a professional checklist for wordpress installation ?

    Hope to herar that soon.

  2. this one?? I have not tried it before… It would be great if you can share your experience with appserv..

    >>on how to differnt plugins in word
    I’m not sure what you mean by “how differnt plugins”. Could you please tell me again? Thanks

  3. For me I’d like to use appserv in windows server because friends of mine and other partners, they’re also using appserv.

    I’ve tried individual installation for these three products in windows server. There is no problem. but a little bit handy.

    But i found many problems when I install latest PHP5 in IIS for using .NET and PHP together. I heard that PHP 5 and latest versions has problem with IIS.

    Now, what i do is that I install two web servers in same window. When i want to run PHP, I stop IIS and start Apache server. (Appserv has many tools like start, stop, restart and httpd configuration to handle apache server.)

    Appserv Installation is same like XAMPP.

  4. >>>Now, what i do is that I install two web servers in same window. When i want to run PHP, I stop IIS and start Apache server. (Appserv has many tools like start, stop, restart and httpd configuration to handle apache server.)

    I used to do like that when I was using Visual Studio 2003 which is asked for IIS on my windows xp. But for now, I’m not using VS 2003 on my Vista so that it is okay with one web server, apache. If you dont wanna stop IIS while running Apache, you can change the default port of IIS.

    What you said about PHP5 on IIS is right. I tried like that before and faced a lot of problems to run wordpess on IIS Server. PHP5 on IIS make WordPress very slow to run..

    >>For me I’d like to use appserv in windows server because friends of mine and other partners, they’re also using appserv.
    Appserv Installation is same like XAMPP

    Thank you for sharing your experience.

  5. Especially, IIS doesn’t support url rewriting (.htaccess) feature. It is not good for security. Because you know everyone can see parameter when we’re passing data between two pages using GET method in web application. And also it is not good in SEO optimization. I think you already know different pretty url and “&” percent url in Google Search Engine. ;)

    But I found some solutions for url rewriting on IIS. One is Qwerksoft’s product name is UrlRewrite but you have to buy it. (you can download and can use only two hundreds manipulation, i think impression. But it good for testing.

    Another one is HttpContext.RewritePath in System.Web library, I have not tried this function yet.

    (why i know is that I have to care security as a web developer when writing big web application)

    As you know, nowadays linux hosting plan are very cheap and most of startup web sites are hosting in it. Because of those reasons.

    Anyway, Welcome to LAMP world !!! ;)

  6. >>Another one is HttpContext.RewritePath in System.Web librar
    Yeah. I used to add the URLWriting feature in ASP.NET Project since I dont want ppl to see the paramenter….. It can be implemented in Base Class when we are developing ASP.NET 1.1 project. All ppl can see is like “”. act, it’s not about IIS but

    I dont know about Qwerksoft’s product. maybe. I will try it too… Thanks..

    BTW, when will you release next theme??

  7. Cool blog.. very interesting… I was wondering if you would be interested in allowing me to post your feed on my news page at my webmaster website

  8. I’ve tried numerous times to install Xampp and it installs just fine the servers are running, but when I want to go to the homepage it doesn’t find it. The path in the httpd conf is correct and I don’t know what else to do other than unistall it. Never could get Xampp to run correctly. I’ve tried WOS (webserver on a stick) and Apache, php5, mysql and phpmyadmin ran without any problems.

    I did a standalone install of Apache, it seemed to do the same thing. the server would run but couldn’t find the home directory. I was wondering if you knew of any issues like this that might help me out.

    What I really want to accomplish is to run Xampp on a usb stick but I can’t figure out why it won’t find the home directory.

    Oh I almost forgot, your site is great keep up the good work!


  9. I also need some help. Xampp is simple and I like it. I put my webstie files in wwwroot on my server 2003 R2 and after many days of errors and problems I finally installed php and phpinfo opens correctly. My last problem is about the contact form that asks for name, email and comment. Everything works as it should according to my browser, thankyou page etc. but I never get an email on my predefined email in php script.How can someone help me here, can I get someone’s mail address to send my php?

Leave a Reply