Support » Installing WordPress » I want to install wordpress on my computer as localhost.

  • I read a website ( that indicated I could install wordpress on my XP laptop computer as a local host for website development. So I tried to use lightTPD with MySQL and php-cgi, which sofar has gotten me nowhere after 2-3 days. I can get the localhost to run, but I cannot put wordpress in lighttpd’s htdocs directory and establish a database for some reason, and apparently nobody at wordpress is familiar enough with this type of install to help a rank amateur like me. And lightTPD expressly does not provide tech support for windows.

    So maybe someone can suggest a better route for me. Perhaps xampp or something similar?

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi


    Forum Moderator

    I use EasyPHP which provides a complete Apache, MySQL, and PHP environment. It’s proved to be far more robust than separate installs and was pretty much ready to go straight out of the box. Got two WP installs on this machine and I can run both simultaneously without a problem.

    Thanks for your response. Per your suggestion, I loaded EasyPHP and am in the process of learning how to use it. I now have Apache and MySQL running and I found a tutorial at:

    which I am slogging through. I am currently stalled at getting the file mysqlcheck.php from file to function: probably just a configuration problem. I’m pretty slow at digesting all this stuff.

    If you know of a better resource link, I would appreciate hearing from you.

    My immediate problem is that I cannot get mysql to function properly. mysqlcheck doesn’t like my password, but it never asked me for one. So I assumed that it would put in the password if I inserted it in the my.ini file, but it doesn’t like that either, although it did change ‘password no’ to ‘password yes’ for what it doesn’t like. So at least it’s reading something, but I don’t know what.

    It appears that it assumes I am user root, but why doesn’t something ask me for a password?

    Obviously, I am completely naive regarding how to set this up without some kind of well-thought-out set of instructions.

    I have reinstalled the program from scratch and have meticulously plodded through the instructions starting at:


    Step 4 says to open up configuration > phpmyadmin and that I will be asked for a password; however, all I get is a 404 error page.

    1) I am so stupid I cannot follow line-by-line instructions, or

    2) Something is missing from the instructions. I have double-checked and reinstalled and retraced until I am blue in the face. I will wait a couple more days before I resign as a complete failure.

    I have reinstalled easyphp 3.0 and have been able to show php files in the root directory www. I have put all the wordpress files in the root directory. I managed to get a mysql prompt by typing mysql -u root
    There is no mysql password. I typed: create database wp;
    grant all on wp.* to ‘root’@’localhost’;
    There is a wordpress file called index.php in www
    when I pull up http://localhost/ I get:
    Error establishing database connection.

    Can anybody give me a clue what I am doing wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I want to install wordpress on my computer as localhost.’ is closed to new replies.