How to Install wordpress with XAMPP on Windows 10 or windows server 2012, 2016 – step by step
1> login to windows machine
2> download XAMPP from https://www.apachefriends.org/download.html, select correct version while downloading XAMPP and its always better to select “latest-1” version of any application.
3> to install XAMPP, double click on downloaded file.
4> select apache, mysql and other tool you want based on your requirement. for wordpress we must need apache and mysql -> click on “next”
5>follow on screen instruction and click on “finish”
6> once installation is finished then you can open XAMPP control panel and install apache and mysql as service so that it will get started automatically after windows reboot. for more detail follow KB – https://powershelltalk.com/start-xampp-services-automatically-windows-reboot/
7> once the service installation is done then you can start the mysql and apache services
8> Download the latest version of WordPress and unzip WordPress in the C:/Program Files/XAMPP/htdocs folder and rename it as per your sitename. i have renamed mine to “WP”
9> now open mysql admin to create new database for wordpress
10> A new browser window will automatically open with the phpMyAdmin interface.


- Replace“database_name_here” with your database name you created in step 11,
- Replace “username_here” with “root” and leave “password_here” blank
- Save the file.
13> Now lets start with wordpress installation , Open your browser and go to http://localhost/wp/ and follow on screen instruction to configure wordpress.
14> if you want to point your wordpress as default directory so that you can access it directly using http://localhost then follow BK – https://powershelltalk.com/change-xampp-localhost-wordpress-folder/