Title: Problem installing wp on localhost after wp-config.php editing
Last modified: August 31, 2016

---

# Problem installing wp on localhost after wp-config.php editing

 *  [SamKrapp](https://wordpress.org/support/users/samkrapp/)
 * (@samkrapp)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/problem-installing-wp-on-localhost-after-wp-configphp-editing/)
 * I have some problem with the installation of WordPress on my pc.
    First of all,
   I’m using XAMMP and, since my port 80 was already busy, I changed it with 8080.
   I describe in detail all I did (I’m using Firefox, but I have the same problems
   with IE and Chrome):
 * 1) on my browser I did [http://localhost:8080/phpmyadmin/](http://localhost:8080/phpmyadmin/)
   and created a new database
    DB Name: unimadb
 * 2) I went on the directory
    C:\xampp\htdocs\unimawp and renamed wp-config-sample.
   php into wp-config.php
 * 3) I edited wp-config.php like this
 *     ```
       define('DB_NAME', 'unimadb');
       define('DB_USER', 'root');
       define('DB_PASSWORD', '');
       define('DB_HOST', 'localhost:8080');
       define('DB_CHARSET', 'utf8');
       define('DB_COLLATE', '');
       ```
   
 * 4) On my browser:
    [http://localhost:8080/unimawp/wp-admin/install.php](http://localhost:8080/unimawp/wp-admin/install.php)
   and now, nothing happen. It spends minutes (like 5/10 min) in loading the page
   but it stays blank.
 * Would someone help me, please?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [F-SharpMedia](https://wordpress.org/support/users/f-sharpmedia/)
 * (@f-sharpmedia)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/problem-installing-wp-on-localhost-after-wp-configphp-editing/#post-6927121)
 * try double cheking inside /phpmyadmin folder to see what it says next to `Server:`,
   its usually `Server:localhost`. Also try 127.0.0.1:8080. But whatever it says
   next to server should be it. Thee rest seems ok to me. I might be wrong but its
   worth a shot.
 *  [Dion](https://wordpress.org/support/users/diondesigns/)
 * (@diondesigns)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/problem-installing-wp-on-localhost-after-wp-configphp-editing/#post-6927127)
 * Try this line for DB_HOST and see if it helps:
 *     ```
       define('DB_HOST', 'localhost');
       ```
   
 *  Thread Starter [SamKrapp](https://wordpress.org/support/users/samkrapp/)
 * (@samkrapp)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/problem-installing-wp-on-localhost-after-wp-configphp-editing/#post-6927128)
 * Yes, I did this and it worked…
    Thanks a lot

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem installing wp on localhost after wp-config.php editing’ is closed
to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 3 replies
 * 3 participants
 * Last reply from: [SamKrapp](https://wordpress.org/support/users/samkrapp/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/problem-installing-wp-on-localhost-after-wp-configphp-editing/#post-6927128)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
