Install WP in XAMPP with a few clicks
- Copy / Symlink app folder to XAMPP's htdocs folder.
- Duplicate config-sample.php, rename it to config.php and add your database user credentials to it.
- Load installer by visiting the root folder of the app (ie. localhost/xampp-wp-installer).
- Fill in the name of the new installation.
- WordPress will be installed in a folder with the given name. A databse will be created with the same name for the WP instance.
- Enjoy!
The app creates a database in the MySQL server that's shipped with XAMPP. A new folder in XAMPP's htdocs directory will be created with the given name (same for the database and the new folder). WP-CLI downloads the installer of the latest WordPress version into this new folder.
Creating a new wp-config.php with WP-CLI then installing a new WordPres instance with the settings.
- You need an installed XAMPP for this to Work. Obviously.
- You need to have your PHP's path in the Environment Variables PATH settings.
- You need WP-CLI downloaded / "installed".
- Some WP-CLI commands are not working with PHP 8.x, so you need to use 7.x.