Installing WordPress Locally on Windows Vista
Ok so I have decided to design my first Word Press Theme for release. Rather than set up a test install on this website I have decided to install Word Press on my Windows Vista Box here at work. Yes you can install it on Windows Vista and hey guess what it actually works. It’s great, it work exactly the same as a hosted version, there is no messing around with FTP, you can hack and change things, test plugins etc etc.
So if you are a Word Press user then your really should consider doing this. This is how you do it.
1. First grab this program called XAMPP Lite, you can download it from here.
2. Install the program, now with Vista it is recommended that you install it outside of the Program Files Directory. I chose a separate drive for my install.

I chose not to install Apache and MySQL as services in the next step, but if you want to install them as services then go ahead and place a tick in the boxes.

4. The Control Panel then launches and you can start MySQL and Apache.

5. File Locations that you need to know about.
Ok now that the install in complete and MySQL and Apache have started the home directory for the web server is located in the htdocs folder in the location that you installed XXAMP. In my case the location is D:\xampp\htdocs. If you go to your browser and type in http://localhost you should get the XAMPP Slash Screen.
6. Install Word Press
What I did was create a new directory underneath the htdocs directory and called it wordpress, Downloaded the latest version of Word Press (2.5.1) and extracted it into that directory.
7. Create a Database
Next go to your phpMyAdmin (http://localhost/phpmyadmin/) and create a database. And also add a user and give that user the correct privileges for the database. Open the wp-config-sample.php file that is located in the root of the wordpress folder and adjust these lines:
define(’DB_NAME’, ‘wordpress’); // The name of the database
define(’DB_USER’, ‘wordpress’); // Your MySQL username
define(’DB_PASSWORD’, ‘yourpassword’); // …and password
Once this has been changed save the file as wp-config.php. Then goto this URL http://localhost/wordpress/wp-admin/install.php and follow the bouncing ball.
There we have it Word Press is now installed on Windows Vista and we can now start playing!
Over the coming week I will be taking you through my project that I am undertaking on creating a custom Word Press Theme, so to keep updated SUBSCRIBE to MY RSS Feed.
You can follow any responses to this entry through the RSS feed. You can leave a response, or trackback from your own site.

October 28th, 2008 at 2:17 am
Although for wamp, not xampp, allow me to share with your audience this video tutorial I created on installing wordpress locally. http://www.youtube.com/watch?v=biQWyBcYSX4
Regards
Shane
November 8th, 2008 at 3:16 am
[...] dell’articolo spiega che, volendo creare un tema per Wordpress, decide per l’installazione in locale di [...]
November 29th, 2008 at 10:13 am
I tried to follow the instructions here and from the XAMPP download page (but I used the XAMPP 1.6.8 because it is the one available in the XAMPP website) but it still won’t work after the installation.
December 12th, 2008 at 3:18 am
Just want to let everyone know about a great Website Design company.
I was a sceptical because of the price, but boy did they deliver for about
$200 they did the most amazing work for me. I just wanted to pass that along to
you guys.
you can check them out at: http://www.leadsware.com/renovastar/index.html
February 7th, 2009 at 2:45 pm
This comment is automaticlly submitted by WpSender2.1 Soft.
$20 per copy. My email is 12515842@qq.com?
November 20th, 2009 at 12:47 am
Thank you for a very helpful article. I have just taken a backup of my live Wordpress site and now set it all up locally, which is GREAT!
December 14th, 2009 at 12:19 am
realy love this blog post,can i bookmark you site, :))
April 17th, 2010 at 4:30 am
I cannot get apache to load/run at all. This isn’t working for me. Can anybody help, please?
May 10th, 2010 at 5:19 am
Windows Vista is good but it can hog your CPU and Memory.:,*