[resolved] Installed xampp to use wordpress locally, but it's not working (6 posts)

  1. hildergarn
    Posted 4 years ago #

    Hi. Yesterday I installed xampp in order to do some test on wordpress on my laptop. the version of xampp is 1.7.7 and php is working accordingly.

    Next, I did the database and user steps creation on phpmyadmin. then, I edited the file wp-config-sample which i renamed afterwards to wp-config.

    despite following all these steps I got the "php is not running" error. Is there any extra steps am I missing?

  2. Christi
    Posted 4 years ago #

    Hi hildergarn,

    This post really should be in the Localhost Installs area of the forum but I did find a similar post that was resolved:


    Hope this helps!

  3. hildergarn
    Posted 4 years ago #

    Hi Christini. Its sounds funny but that was the post I used to helped me yesterday with no success :(

  4. Christi
    Posted 4 years ago #

    Hello again hildergarn,

    I noticed this from http://www.tamba2.org.uk/wordpress/xampp/

    Download and unzip WordPress.
    Open the file wp-config-sample.php
    These are the exact details you need for Xampp to work because the default user in phpmyadmin is called 'root' and there is no password.

    `define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', 'root'); // Your MySQL username
    define('DB_PASSWORD', ''); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value`

    Copy those details into your wp-config file, and save it as wp-config.php

    Found that courtesy of:


    If this doesn't take care of it, I would suggest posting this question in the localhost part of the forum.

    Good luck!

  5. Clayton James
    Posted 4 years ago #


    Are you accessing the install page using your browser from http://localhost/wordpress/wp-admin/install.php - or - are you trying to open the install.php file directly by double clicking (or right click, open with)?

  6. hildergarn
    Posted 4 years ago #

    Thanks everyone. It seems the issue was due some missing letter (typo) hheheh.

    Now it's running properly :)

Topic Closed

This topic has been closed to new replies.

About this Topic