Octwelve – A Web Designer's Blog by Luc Melgar

How to install WordPress on your PC

December 15th, 2007 · 59 Comments

1. Download WAMP. Instead of installing PHP, Apache, and MySQL mannually, WAMP can install these 3 automatically.

2. Double click the installer and install it in C:\

Wamp setup

3. Leave Auto start uncheck. I prefer to start Wamp only when I need it.

Wamp setup

4. Download WordPress. Extract the zip files into C:\wamp\www

Extract WordPress

5. Start Wamp Server. Go to Program Files > Wamp Server > start Wamp Server

6. Click on the Wamp icon (left click) on the toolbar and choose Localhost.


It will take you to this page.

Wamp main screen

7. Go to PHPmyadmin

8. Create new database. Name it “wptest” and click the create button. Then click on Privileges.

Database setup

9. When you click on Privileges, it will take you to this page. Click on Add a new User.
Adding new user

10. Fill in with- username:user1, host: localhost, password: password, Global Privileges-click on Check All. Then click Go.

Adding new user

11. Open Dreamweaver (or any text editor) and open C:\wamp\www\wordpress\wp-config-sample.php. Fill in with your database connection details. Then save the file as wp-config.php (File>Save As>wp-config.php)

Wordpress configuration

12. Now go back to the Wamp Homepage or by opening your browser and type in the URL http://localhost/ . Click on “wordpress”. It’s under the “Your Projects

13. If you see this page, then you’re ready to install WordPress in your local machine.

Wordpress installation

Just click on install.php > First Step (fill in your details) > Continue to Second Step (IMPORTANT: Note the password that is generated for you.)

14. Click on login or go to http://localhost/wordpress/wp-login.php

15. You’re all set! Now you can start to run and test WordPress on your local machine.


I’ve only created 2 blogs using WordPress. I’m not a WordPress expert but this is how I was able to run WordPress and customize its design on my PC. Hope this helps! Let me know if it works for you. If it does, I’ll share how to customize the design of blogs on my next post. :)

If you still haven’t got a good hosting provider for your wordpress sites, try checking out WebHostingSearch’s wordpress hosting reviews. You can read a great deal of write-ups in there.

Technorati Tags: , , , , ,

59 responses so far

  • claire says:
    Dec 29, 2007 at 2:41 am

    Aww Thank you So much for this!
    Jong mal gomawo~

  • Luc says:
    Dec 29, 2007 at 6:34 am

    What’s Jong mal gomawo ?

  • claire says:
    Dec 29, 2007 at 7:09 am

    Oh. Thank you very much. :)

  • Luc says:
    Dec 29, 2007 at 7:55 am

    No problem. Is that some Norwegian language? :)

  • Nicole says:
    Dec 29, 2007 at 9:19 am

    Thanks so much too!
    I believe that Filipino.

  • Luc says:
    Dec 29, 2007 at 1:51 pm

    Cheers Nicole. No, that’s not Filipino, I should know ;)

  • Harry Roberts says:
    Dec 29, 2007 at 9:51 pm

    QUALITY! Thank you! You have no idea how long I’ve been looking for this!

  • Kat says:
    Dec 30, 2007 at 2:49 am

    Thanks for this!

    About that “jong mal gomawo”, it’s actually Korean.

  • Wanits says:
    Jan 1, 2008 at 9:59 pm

    Hi, thanks so much for sharing this. :) I know claire. And she’s filipino, and she knows bit korean language coz she is fund with koreanovelas? I think. :P

  • Luc says:
    Jan 2, 2008 at 5:49 am

    hehe ok ^_^ No problem.

  • Need help says:
    Jan 2, 2008 at 7:26 pm

    I’m having problems installing on wamp server. Keep getting this message:

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 98304 bytes) in C:\wamp\www\wordpress\wp-includes\registration.php on line 135

    I was told it has something to do with php.ini and memory limit, so i increased to 32, 64 and others but still getting same message. Any ideas?

  • Couchart says:
    Jan 2, 2008 at 8:48 pm

    Very Nice tutorial! This beats just working on your live site :)

  • How to install wordpress on your PC « ceaGallery photo retouching Blog & Portfolio says:
    Jan 3, 2008 at 1:24 am

    [...] your PC so you can create your design and manage your blog, then you have to check this blog entry (http://octwelve.com/2007/12/15/how-to-run-wordpress-in-your-local-machine-pc) [...]

  • chris says:
    Jan 3, 2008 at 1:24 am

    hello, i added a link to this entry in my wordpress blog (http://ceablog.wordpress.com)

  • Luc says:
    Jan 3, 2008 at 6:52 am

    @Needhelp, I’m sorry but I haven’t encountered such problem with Wamp. I have no idea. Maybe you can get some help from Wamp’s forum here


  • Luc says:
    Jan 3, 2008 at 6:54 am

    Cheers Couchart!

    And Chris, thanks for the link!


  • manele says:
    Jan 5, 2008 at 3:40 pm

    thx for your little tutorial. i love wamp :)

  • sos says:
    Jan 9, 2008 at 2:40 pm

    anyone can help with this error:

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 98304 bytes) in C:\wamp\www\wordpress\wp-includes\registration.php on line 135


  • Yaili says:
    Jan 10, 2008 at 3:11 am

    Thanks! What a nice xmas present :)

  • Luc says:
    Jan 11, 2008 at 2:43 pm

    Sure :) Cheers Yaili!

  • workingondreams says:
    Jan 12, 2008 at 12:21 pm

    thank you very much!

  • roziek says:
    Jan 15, 2008 at 10:47 pm

    Yeah, it works well. I also did it on KrasnalServ (http://krasnal.tk) and it works good too.

    So now we just have to wait for your next post with ‘how to customize design’ tips ;).

  • Luc says:
    Jan 15, 2008 at 11:00 pm

    Great! I’ll do that as soon as I finish my current projects. :) I’m just super busy at the moment.

  • Configuração local do WordPress com WampServer « Blog do Johnny Bright says:
    Jan 16, 2008 at 9:25 am

    [...] livre de olhares curiosos e hackers. Você encontra instruções de como fazer isso no site Urban Giraffe, e também no blog [...]

  • Brian says:
    Feb 2, 2008 at 1:30 pm

    In response to:
    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 98304 bytes) in C:\wamp\www\wordpress\wp-includes\registration.php on line 135

    The fix is to open your php.ini file and set
    memory_limit = 32M

  • Fideocam says:
    Feb 6, 2008 at 12:35 am

    I initially had some trouble setting up WordPress blog on WAMP. I ran into the fatal error memory problem. The fix was supposed to be setting memory size to 32MB in php.ini like Brian said. Trouble is that there are at least two php.ini files in wamp directories. So you got to edit the settings in C:\wamp\Apache2\bin\php.ini, not (just?) in C:\wamp\php\php.ini.

  • » Kendi bilgisayarına nasıl wordpress ku … Tavsiyeettim says:
    Feb 17, 2008 at 12:36 am

    [...] Detaylı bir şekilde anlatmışlar. İngilizce bilmeyen ben özürlü vatandaş dahi faydalandı. Buradan bakabilirsiniz. [...]

  • Learn How to Install and Run Your Own WordPress Blog | SimplicIT . Simple IT Solutions . LAB says:
    May 8, 2008 at 12:25 am

    [...] you want to start your own blog, but have no clue how to install and set one up. Luc Melgar provides a fantastic, step-by-step tutorial on how to install WordPress using WampServer on your [...]

  • Catalin says:
    Aug 21, 2008 at 6:22 pm

    Excellent guide! Now I can design my sites at Starbucks or in the park ;-)

  • Sunil says:
    Oct 24, 2008 at 2:47 pm

    thanks soooooooooooooooooo much.

  • Zhenya says:
    Nov 6, 2008 at 10:22 am

    to be truly surprised and pleased:) Do not be believed, that even this happens:)

  • James says:
    Nov 12, 2008 at 10:38 am

    Man it’s awesome

  • lut says:
    Nov 15, 2008 at 10:35 pm

    hi guys..anyone can help me.??
    i got this problem

    Warning: Cannot modify header information – headers already sent by (output started at C:\wamp\www\wp-config.php:1) in C:\wamp\www\wp-includes\pluggable.php on line 770

  • srikanth says:
    Dec 9, 2008 at 11:30 am

    thanks for easily understandable tutorial on how to run wordpress on our pc.

  • Girlydoll♥net » Quick post (not) says:
    Jan 31, 2009 at 8:26 pm

    [...] I discovered something — WAMP. You can install WordPress on your PC. Again, install WordPress on your PC! With this, you don’t have to waste so much bandwidth (from your server) in editing your themes or trying plugins! I used it on making this new theme. I have no time to make my own tutorial so sorry about that.Read the tutorial at Octwelve » [...]

  • Luc says:
    Feb 4, 2009 at 6:41 pm

    I bought this in Sim Lim Square. You can find this magazine in any bookstore or magazine stall here in Singapore.

  • Shibi Kannan says:
    Feb 27, 2009 at 11:52 pm

    Thank you for the excellent tutorial. If you like we want to feature this article in our upcoming magazine section. Also we can add a permanent link to your website so that our clients can get useful information from your site too.
    Looking forward for great collaboration.
    Thanks again,

    Vectormesh Team

  • Luc says:
    Mar 2, 2009 at 8:34 am

    Hi! Sure no problem.

  • arun says:
    Mar 10, 2009 at 10:30 pm

    thank you for easy installation steps.

    with this steps a newbie can install it on his system.

  • RaiulBaztepo says:
    Mar 29, 2009 at 4:13 am

    Very Interesting post! Thank you for such interesting resource!
    PS: Sorry for my bad english, I’v just started to learn this language ;)
    See you!
    Your, Raiul Baztepo

  • romonoeroetoko says:
    Jul 8, 2009 at 9:18 pm

    Hm that sounds good but I would like to know more details.

  • romonoeroetoko says:
    Jul 15, 2009 at 10:48 pm

    Your news is a cool stuff man, keep it going.

  • amenodimeno says:
    Jul 31, 2009 at 10:53 pm

    That’s good man, keep it going.

  • queroeropoo says:
    Aug 7, 2009 at 4:18 am

    Good information to me.

  • archit says:
    Aug 27, 2009 at 11:20 pm

    solution is provided in crystal clear way. i installed it without any difficulty

  • adamoerikom says:
    Sep 20, 2009 at 2:26 am

    Stunning blog and good article. High 5 for u man !

  • vinoth says:
    Oct 23, 2009 at 10:59 am

    This tutorial is awesome.. i love to use wamp as my localhost..

  • Fawaz says:
    Nov 5, 2009 at 3:11 am

    Thank you so much Buddy…it really worked

  • Miles says:
    Nov 11, 2009 at 1:14 am

    Thanks for the tutorial. It works great! A note to some .. if you’re getting a “deprecated” error you need to include the patch for php 5.2.9 which you can download and install as an exe from the Wamp website. Very easy, just download, click to install and select the new version from the Wamp system tray.

  • adamusxyz says:
    Jan 7, 2010 at 12:34 am

    This is a very good stuff man. But you can be more specific next time. See ya !

  • RFID Reader says:
    Apr 16, 2010 at 9:01 pm

    nice share, good article, very usefull for me…thanks

  • The Belly Boy says:
    May 17, 2010 at 6:03 pm

    Very nice. Thanks a lot. Kudos to Filipino Developers. ;)

  • naila says:
    Aug 11, 2010 at 12:25 pm

    very nice way to guide. thanks a lot.

  • Freshnewsin says:
    Nov 14, 2010 at 9:31 pm

    Really Great and useful information on installing wordpress in your local pc. very helpful post.

  • Muhammad Saad says:
    Feb 2, 2011 at 12:44 pm


    I did the same thing as above but I got stuck on the stage where one has to click the local after clicking the wamp server icon in toolbar. The problem is that after clicking it, the only thing appearing in the browser is the message of “problem loading page”. Please help resolve it.

  • Tanusree Palit says:
    Apr 11, 2011 at 9:51 pm

    Thanks a lot….

  • Johnny Wirjosandjojo says:
    Oct 10, 2011 at 12:10 pm

    the problems’s wamp… :(

  • Linda Shepard says:
    Jun 1, 2012 at 10:16 am

    You ROCK!!! Thank you so much for publishing this info. It’s not easy to find and I’m learning WordPress so I’d like to be able to dink around with it locally.

  • saman drew says:
    Oct 15, 2012 at 2:09 pm

    it is Really useful information on installing word press in your local Host. it is great post

Leave a Comment