Support » Localhost Installs » Installing WordPress locally on Windows 7 64 bit?

  • Resolved emitray


    Hi, I’m trying to install WordPress locally but I’m having problems. I tried XAMPP initially with no luck so I tried WAMP but I still can’t set up the wp-config.php file. It’s to do with PHP, it’s either not installed or I have the wrong version or something. I’m using Windows 7 64bit and the web server on WAMP is “Apache/2.2.17 (Win32) PHP/5.3.4” so I’m guessing its incompatible with 64bit Windows but I’m new to all this so it could be an earthworm tickling the dualcore substrata in the superflexibyte chipset for all I know.

    Can anybody help me?

    I really don’t want to use Web Platform Installer by the way because it threatened to install a huge amount of Microsoft junk with the WordPress install.

    What about bitnami? Can that install locally?

    Thanks in advance

Viewing 15 replies - 1 through 15 (of 19 total)
  • Howdy,

    but I still can’t set up the wp-config.php file.

    How, exactly, are you determining this? I use both XAMPP and WAMP on Win 7 – 64 bit with no issues. What is the error? What is or is not happening?
    Do you (did you) have XAMPP or WAMP running when you were attempting the installation? (they HAVE to be running! … Apache and MySQL)

    I’ll go through it with you right now (working on my Win 7 64 bit system):

    A. – Start XAMPP 1.7.3

    1) start the XAMPP Control Panel (1.7.3 is what I am using)
    2) Apache – click Start (do NOT tick the Svc box!); the green ‘Running’ appears
    3) MySQL – click Start (do NOT tick the Svc box!); the green ‘Running’ appears
    4) minimize the Control Panel as both required servers are now running’

    B. – Get the WP package ready for installation

    1) Start > Computer > XAMPP > htdocs
    2) create a new folder at this location and name it mywordpress (just like that, lower case, no spaces)
    3) paste into this folder, the WP package ZIP that you downloaded
    4) right click the ZIP file and select Open with > Windows Explorer
    5) a new window will appear with a wordpress folder in it; double click this wordpress folder
    6) right click anywhere in the clear (that is, NOT on a file or folder) and select Extract All …
    7) edit the default path displayed in the resulting popup dialog so that it is C:\xampp\htdocs\mywordpress
    8) you will now have in your /mywordpress folder, the wordpress ZIP and the wordpress folder
    9) open the wordpress folder, select ALL the files and folders and the cut and paste them into the mywordpress folder (basically “moving them up a level”)
    10) NOW you are ready to start the installation process

    C. – WordPress Installation

    1) in your fave browser (which should be Chrome or Firefox :)), enter localhost/xampp into the address bar and click Enter
    2) click phpMyAdmin in Tools (lower left)
    3) in the right pane under MySQL localhost > Create new database, enter mywordpress and click Create (you can name it anything you like, lower case, no spaces, but for this example, let’s keep it simple and use the same name as the folder)
    4) when the “Database mywordpress has been created.” appears, enter localhost/mywordpress into the address bar and press Enter
    5) click the “Create a Configuration File” button
    6) at the next screen, click the “Let’s go!” button
    7) enter the following values for the database connection details:

    – Database Name: mywordpress
    – User Name: root
    – Password: EMPTY!!! make SURE there is NOTHING in this field, not even a space!
    – Database Host: localhost
    – Table Prefix: wp_

    8) click the “Submit” button


    i)The database connection details confuse a LOT of folks! The key point here is that this has absolutely NOTHING to do with accessing the Admin area of your WordPress site!!!


    iii) For local installs, leave the Database Prefix as it is, wp_, for simplicity’s sake

    9) OK there “sparky”, go ahead and click that “Run the install” button πŸ™‚
    10) at the next screen, fill out as desired, with the following notes:

    i) for local sites ONLY, I always leave the Username as admin

    ii) for local sites ONLY, I always use 123123 for the password as it’s so easy to type and I’m lazy πŸ™‚

    iii) put whatever you want for an email (it can NOT be empty or in a non-email format), but be advised, on a local install with one of the local server stacks (XAMPP in this case), you will NOT, by DEFAULT, have mail services; that is an additional function that is NOT covered in this example

    iv) optionally, un-check the “Allow my site to appear in search engines like Google and Technorati.”

    11) click the “Install WordPress” button
    12) at the next screen, click the “Log In” button
    13) enter the Username and Password you entered in Step C.10) above (admin/123123 in this example)
    14) πŸ™‚ there’s the “back end” of your new, local WordPress site! πŸ™‚
    15) to access the “front end”, in a new tab enter localhost/mywordpress into the address bar and press Enter
    16) remember, to access the admin log in, the address is localhost/mywordpress/wp-admin


    i) remember that XAMPP (or whatever “stack” <XAMPP, WAMP, Uniform Server, etc.> you are using) HAS TO BE RUNNING (Apache and MySQL) for you to access your local sites, front or back

    ii) this local server is not limited to WordPress; you can also install other scripts such as Joomla!, Drupal, PrestaShop, eFront, Moodle, etc.; installation procedures are similar, notably the database connection details are THE SAME!!!(for the same “stack”) user: root, password: <empty>, database host: localhost; you still have to create a new database in advance with phpMyAdmin (C. 1,2,3)

    iii) you can have as many local sites as you have hard disk space for! If you think you “screwed one up”, just start a new one πŸ™‚ … takes less than 5 minutes once you do a few πŸ™‚

    Enjoy! πŸ™‚


    Lyle, I actually love you, in that everybody is united kind of way. I’m up and offline. Thanks so much for the step by step. I’m actually using WAMP as I prefer it to XAMPP but I figured out how to transfer your great instructions – basically instead of the C:\xampp\htdocs its the C:\wamp\www folder and simply start all services in the Wampserver control panel if anyone is interested.

    Such a silly thing was halting the install. When setting up the wp-config file the other guide for a WAMP setup said:

    “Enter the database name you entered in Step (β€œwp2”) and Database user (β€œroot”). Leave everything else as is and click β€œSubmit”.

    But in the password box, wordpress puts “password” which is obviously not empty and doesn’t work nor does it tell you why.

    This was the clinching detail that made the world that little bit better:

    – Password: EMPTY!!! make SURE there is NOTHING in this field, not even a space!

    I commend you greatly and I am sending you happy thoughts right now and for the rest of the day πŸ™‚

    I know this post is a bit old, but I just wanted to say thank you so much for these thorough instructions!!!

    Thanks Lyle — very useful and complete directions.

    1) start the XAMPP Control Panel (1.7.3 is what I am using)
    2) Apache – click Start (do NOT tick the Svc box!); the green ‘Running’ appears
    3) MySQL – click Start (do NOT tick the Svc box!); the green ‘Running’ appears

    Apache keeps stopping. Any tips, or tips on where to go for advice?

    I got it working. I had to move xampp to the C:\ root, then run setup_xampp.bat. Then I had to use the beta console, because the other one wasn’t working with MySQL.

    that’s problem with new xampp installation.. i had it every time even through required port were free.. after few hours/day it worked without prob..

    Awesome post, 2ninerniner2!

    One question though: this install is on an internal protected network, so I turned Windows firewall off to make the site visible.

    Viewing from localhost, everything works correctly. From other machines, however, formatted text is popping up without the theme framework or graphics. I’m guessing it’s a permissions issue, but I’m not sure where to begin troubleshooting because I haven’t used this setup before.

    Any thoughts on likely suspects>


    Sorry I have not been back to this for a while πŸ™‚

    As joeybuddy96 rightly pointed out, the location for XAMPP should be in the C:\ root. I have also had Apache quit like that, but a restart seemed to “cure” it.

    On Windows 7 64 bit (and XP 32) I have generally preferred The Uniform Server as my local server, mainly because it it totally self-contained, does not “install” anything (no registry “dust”) and can be located anywhere you like … with one MAJOR exception (this one got me a couple times): there can be NO SPACES in the path to it’s location! This means that it WILL NOT WORK in ‘My Documents’; ‘MyDocuments’ – no problem πŸ™‚ I usually plunk it on the Desktop as it seems to be the handiest spot πŸ™‚


    I’m not a network “expert” by any stretch, but I ran into a similar situation at work the other week getting FileMaker Pro’s Instant Web Publishing to display properly on other machines. In my case, it was that one had to use the complete IP address and how that address was made available on the network; again, I have no step-by-step as our IT guy set it up and got it working πŸ™‚


    Thanks 2ninerniner2
    for a clear installation process. came up first time and now I’m dancing with WP!

    hey Lyle,

    It may be months after your post but I want to echo the others comments here, that “I really love you!”. I was just so lost on how to do this, and your clear instructions saved the day.

    You are the best…thank you all the way from Canada!

    2ninerniner2 these were awesome instructions. I am not at all WP literate and between my son and I, trying to get an install done properly was so frustrating. And thanks to Emitray for the added WAMP instructions. It worked perfectly.

    The only thing I would add is that I had ISS running as well as SKYPE running. Both seemed to use Port 80 so Apache didn’t start properly. I disabled IIS and then quit Skype and WAMP started just like it was supposed to.

    Now on to building a real site.


    First of all, Lyle thanks a lot for such a clear and directive guide, now can anyone help me how to update the real online site with the changes made on xampp ??

    Is it automatic like do we click somewhere and everything gets uploaded, or everything has to be done manually again??

    Please someone help me.




    Forum Moderator

    Manually. See Moving_WordPress.


    Thanks for the prompt response, the link dosnt say anything about the xampp to live site sync or update.


Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Installing WordPress locally on Windows 7 64 bit?’ is closed to new replies.