WordPress.org

Ready to get started?Download WordPress

Forums

I want to install wordpress on my computer as localhost. (6 posts)

  1. geraldisaacs
    Member
    Posted 5 years ago #

    I read a website (http://blogbuildingu.com/wordpress/install-wordpress-wlmp) 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?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 5 years ago #

    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.

  3. geraldisaacs
    Member
    Posted 5 years ago #

    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:
    http://www.canowhoopass.com/guides/easyphp/configure.php

    which I am slogging through. I am currently stalled at getting the file mysqlcheck.php from http://www.canowhoopass.com/guides/easyphp/running.php 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.

  4. geraldisaacs
    Member
    Posted 5 years ago #

    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.

  5. geraldisaacs
    Member
    Posted 5 years ago #

    I have reinstalled the program from scratch and have meticulously plodded through the instructions starting at:
    http://www.canowhoopass.com/guides/easyphp/getting.php

    In: http://www.canowhoopass.com/guides/easyphp/setupmysql.php

    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.

    Either:
    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.

  6. geraldisaacs
    Member
    Posted 5 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.