WordPress.org

Ready to get started?Download WordPress

Forums

Installing WP into XAMPP to use as Local Server (3 posts)

  1. fieriee
    Member
    Posted 2 years ago #

    I am trying to create an XAMPP test server for Dreamweaver 5.5. I want the test server to work on editing WordPress themes. I've already got WordPress installed onto my remote server, so I'm a bit familiar with the process. I've been using this tutorial: http://www.adobe.com/devnet/dreamweaver/articles/dw_wordpress_pt2.html.

    I have two issues. Firstly, installing WP into the the XAMPP htdocs folder. I know I'm not supposed to put the actual "wordpress" folder into the htdocs file. However, when I copy and paste all of the contents of the Worpress folder into the htdocs folder I end up with two index.php files (one from the WP folder, and one that was already in the htdocs folder. At first, I ignored this, and just let them both be.

    I created a data base ("wordpress") and a user in PHPmyadmin that I gave universal privileges. I navigate to http://localhost/wp-admin/install.php and click the "create a configuration file." I put in the data base name ("WordPress") and I put in the user name and password of the user I created and gave universal privileges to. Here arises my second issue: I get a "Error establishing a database connection" message. I even went and created a config file myself, and ended up with the same error message. Here is the info I'm providing:

    /** The name of the database for WordPress */

    define('DB_NAME', 'wordpress');

    /** MySQL database username */

    define('DB_USER', 'Cassie');

    /** MySQL database password */

    define('DB_PASSWORD', 'the password for user Cassie');

    /** MySQL hostname */

    define('DB_HOST', 'localhost');

    So I need to know A. How do I deal with the double index.php file issue, and is this what's causing my second problem? and B. What am I doing wrong in regards to creating this config file?

  2. Gyan
    Member
    Posted 2 years ago #

    --create a folder in htdocs may be it is wordpress.
    --then go to phpmyadmin and create a database.

    --go to http://localhost/wordpress and enter the the details ask.

    I think it will work. or may be you can take a look here .
    How to istall wordpress with XAMPP.

    Try it and let me know if you have issues.

    Gyan

  3. FazBuzzWP
    Member
    Posted 2 years ago #

    hey fieriee
    as far as your double index problem is concerned i think one index file comes from index of xampp installation.(thats what it's in WAMP). it takes you to the xampp splash sceen and the second is from the WordPress.What i generally do is i extract the whole WordPress folder into my www or htdocs folder and then rename it to suit my preference. Then change the config file. To log in I use this url http://localhost/renamedwordpressfolder/wp-admin

Topic Closed

This topic has been closed to new replies.

About this Topic