Support » Localhost Installs » Installing WP into XAMPP to use as Local Server

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Installing WP into XAMPP to use as Local Server’ is closed to new replies.