Procedure to Install Wordpress Locally on Windows 7, Vista and XP
I had a plan of designing a Wordpress Theme from very long time. Rather than using a live domain and your regular Webhosting, it is always a good idea to install Wordpress on a local machine and try out things from there. It is not a big deal to install Wordpress locally on your Windows 7 or Vista or XP machine.
Procedure to Install WordPress Locally
Step 1 : First thing you would need is Apache, MySQL and PHP. Instead of installing all the messy stuff you can just install XAMPP. XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use. Install XAMPP from here – http://www.apachefriends.org/en/xampp-windows.html#646.
Step 2 : Open the xampplite folder and double click setup_xampp.bat. Just follow the steps and install other components. Now double click on xampp-control.exe and start the Apache and MySQL services.
Step 3 : So now You have got Apache and MySQL installed. Now we have to create a new database to use with our Wordpress Blog. Head over to http://localhost/xampp and select your language. Now on the left side you can see a tools section. Just click on the phpMyAdmin link and create a new database from the phpMyAdmin page.
Step 4 : Now we have to install Wordpress. Go to http://wordpress.org/download/ and download the latest stable version to your local computer. Extract the files and modify the wp-config-sample.php file with database name(techhaildb in my case), MySQL username(root in my case) and password (****** in my case). Rename the wp-config-sample.php file to wp-config.php.
Step 5 : Now open the Xammplite folder and then copy the whole Wordpress folder to htdocs folder. Now head over to http://localhost/wordpress/wp-admin/install.php and complete the Wordpress Installation.
If ou have followed all the steps correctly you will have a Wordpress blog installed on your local machine.
Similar Articles
- How to Enable Tethering on iPhone 3GS and 3G Running iPhone OS 3.1.2
- Scan Your Wordpress Blog for Malicious Code using WordPress Exploit Scanner
- Download and Install Portable-VirtualBox to Run Guest OS from Your USB Drive
- Wordpress 2.8 Released With Improvements to Themes, Widgets and Speed
- Procedure to Jailbreak iPhone 3GS With 3.1 OS Using PwnageTool 3.1.3 for Mac














Cheers for the tut mate, was wondering how id get WP running on my newly installed Win7 version…i had it setup to run on xp like 3 years ago but when I tried to do the same thing as I did back then, i failed miserably
So yeah, cheers.
Thanks for the tutorial. Saved me a lot of time!
Hi tank for tutorial
but I can’t run this program properly
After starting XAMPP I clicked on apache start and nothing happened!
same for mysql
also installing service does not work anymore
I’m using windows 7 Ultimate build 7600
I had do exactly what you said.
what is wrong?
Im also running it on Windows 7 and it worked without any trouble. Are you running any other web services on those ports?? If not try un-installing them and retry again.. It should work without any trouble.
Stunning blogpost, did not thought reading it was going to be so awesome when I looked at your title with link.
Hey, that was an awesome tutorial – I was trying another and it totally lost me…yours was extremely precise and thorough. Thanks – it’s running and now I can get into it…