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.


Installing WordPress on Windows Vista

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.


| del.icio.us | Digg it | Furl | reddit | StumbleUpon | Yahoo MyWeb

You can follow any responses to this entry through the RSS feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

9 Responses to “Installing WordPress Locally on Windows Vista”

  1. 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

  2. [...] dell’articolo spiega che, volendo creare un tema per Wordpress, decide per l’installazione in locale di [...]

  3. 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.

  4. 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

  5. This comment is automaticlly submitted by WpSender2.1 Soft.
    $20 per copy. My email is 12515842@qq.com?

  6. 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!

  7. realy love this blog post,can i bookmark you site, :))

  8. I cannot get apache to load/run at all. This isn’t working for me. Can anybody help, please?

  9. Windows Vista is good but it can hog your CPU and Memory.:,*

Leave a Reply