How to setup WordPress website with XAMPP on Windows 10

This article guide will help you how to set up a local WordPress website on Windows 10 using XAMPP. XAMPP is a free software that includes many important options for hosting a website, including Apache and MySQL (now MariaDB). It can be downloaded from: https://www.apachefriends.org/index.html​ How to set up WordPress website with XAMPP on Windows 10

After downloading, just run the installer and make sure to leave the Apache, MySQL, PHP, Perl, and phpmyadmin options selected, and then leave everything else as default. How to set up WordPress website with XAMPP on Windows 10 You may want to change the default installation path from C: xampp to something else, but it is suggested that you avoid installing to the program files folder to avoid UAC (User Account Control) triggers. Once it’s installed, open the control panel and start the Apache and MySQL services. You can now see an active webserver at localhost, or the IP Address 127.0.0.1 (local IP Address). localhost MySQL services Now you will need to download WordPress itself. You can download a zip of the newest version at: http://www.wordpress.org​ Once it is downloaded, right click and extract all. Then copy the WordPress folder, and paste into the XAMPP installation, in the htdocs folder. This folder is what is served up to the web browser. So by default it brings you to the dashboard folder. download wordpress extract wordpress folder extract wordpress folder select wordpress enter wordpress database To access WordPress after you paste it into the folder, in your web browser go to http://localhost/wordpress​ Feel free to change the name of the wordpress folder to access it at a different address. Now it will ask for a database, database username, and database password. localhost wordpresslocal host wordpress username or passwordlocal host wordpresswordpress installation processenter wordpress usrname or pasword enter wordpress usrname or pasword This is something you will need to create in phpmyadmin. To do this, head to http://localhost/phpmyadmin​ Once here, click on the new option on the left to create a new database. Give it a relevant name, something different preferably than just wordpress. Then choose the Collation, which is utf8_general_ci After the database is created, click on it on the left and choose the privileges tab. Here you can create a user that has privileges to add data to the database, which is how WordPress will access the database and store data. Again it is recommended to choose a relevant username here, and a strong password. The hostname should also be changed to localhost, as this is a local install. Then hit the go button at the bottom. If you get an error stating Show Plugins soname like ‘%_password_check%’ then it’s easy to fix. Just go to your xampp folder, and then the mysql folder inside. Here, right click and create a new folder, and name it lib. Then go in the newly created lib folder and create another folder, called plugin. You should now be able to create a new user just fine. Once the user is created, go to http://localhost/wordpress​ and input the new database you created, and the user info. The next information WordPress will ask for is the site title, and a user to login to WordPress. I would suggest something different than just administrator, and to use a strong password. At this point your wordpress installation is ready to use.