installing wordpress on windows

   Share

installing wordpress on windows image

In my last post i talked about installing apache and mysql on windows for development needs, and now we can add to that install a wordpress blog.

when i do changes to the php code on wordpress i first test it on the local version of the them to make sure its good before going with it public.

1) get the wordpress files

first thing – download the wordpress install file from the website,
the default html folder for xampp is C:\xampp\htdocs so lets create a folder for our blog there: C:\xampp\htdocs\testblog and unzip the wordpress files into that location.

2) setup the MySQL user and database

go to http://localhost/phpmyadmin/index.php and choose the Privileges tab,
find the “Add a new User” link.
fill in a user name – anything you want, and a password.
in the “Database for user” section make sure to check: “Global privileges” press the “Check All” link to give the user all the privileges (this is something you should do only on a development server!!! )

press the Go button.

at this point its best to reload the privileges tab and use the “reload the privileges” link to make sure the user is loaded.

3) edit the wp-config.php file

go to C:\xampp\htdocs\testblog where all the blog files are located and rename wp-config-sample.php to wp-config.php, edit the file and setup:
edit the DB-NAME line and replace “putyourdbnamehere” with the username we created a minute ago,
replace “usernamehere” with the the same user name we just used,
“yourpasswordhere” should be replaced with the user’s password,
and also you have the “Authentication Unique Keys” part where you need to create keys for your blog,
you can use this wordpress.org page which will create the keys for you. copy and paste the keys to the config file.

4) run the wordpress config php

if you installed the wordpress files into “testblog” folder, the install file will be at: http://localhost/testblog/wp-admin/install.php

choose a blog title and an email, and you have your own development blog running.
don’t forget to change the admin password first thing…

you can access your new blog at: http://localhost/testblog/

from here now you can do all the changes and testing you want, including themes and plugins, before you upload them to your live blog.

Technorati Tags: , , , ,

  • Share/Bookmark

Related posts:

  1. Apache and MySQL on windows
  2. How to start learning Linux
  3. nagios love – vote on SourceForge.net Community Choice Awards
  4. Apache Active Directory Authentication
  5. How to Debug Samba Server and solve user connection problems

5 Responses to “installing wordpress on windows”

  1. installing wordpress on windows | yonitg.com  on April 30th, 2009

    [...] Excerpt from: installing wordpress on windows | yonitg.com [...]

    Reply

  2. Problems installing windows on a mac using boot camp? | Windows XP Repair  on April 30th, 2009

    [...] installing wordpress on windows | yonitg.com [...]

    Reply

  3. php websites  on May 6th, 2009

    Your blog is a rich source of information on php topics. Liked it, will bookmark it for later!

    Reply

  4. JessicaErure  on May 10th, 2009

    Good work! Thank you very much! I always wanted to write in my blog something like that. Can I take part of your post to my blog? Of course, I will add backlink?

    Reply

    • yonitg  on May 12th, 2009

      thanks ! ill be happy if you mention my blog…

      Reply


Leave a Reply