Normaly on servers you can install WP with WP installation proccess and you will have auto generated
wp-config.php file. On some servers you need to create
Here is how to prepare WordPress installation:
- In MySQL you need to create empty database
- Place in root of your server WP ZIP file
- Extract ZIP file with some zip manager
- Move WP installation files and folders from
wordpress in root
- In browser go to your WP
Now you starting installation.
If you see standard WordPress installation page with initial steps, you can isntall WP selecting language and inserting database name, username, pasword and localhost in host field.
If you see error like you mention, you need to create
wp-config.php inside root folder, copy whole PHP code from
wp-config-sample.php 1:1 and change pharams like this:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname */
/** Database Charset to use in creating database tables. */
/** The Database Collate type. Don't change this if in doubt. */
DB_CHARSET need to be same like your encoding in database what you create before. Also
DB_COLLATE leave empty.
After that your WP will just ask you for database update and all will work fine.
I believe this may be caused by an old version of WordPress that is being installed by Softaculous.
Also, take a look for this line at the bottom of your wp-config.php file, remove it and try again.
require_once(ABSPATH . 'wp-admin/setup-config.php');
Default XAMPP host is localhost, password is not setup (empty) and username is root.
Also I need to mention, sometimes in XAMPP you can have conflict with Skype and you must disable inside Skype port 80 and 443 in
Tools->Options->Advanced->Connection and after that restart Skype.
I hope this can help you.