How to install WordPress on local pc
If you are looking to build a testing environment on your pc to develop a new WordPress theme, modify your existing WordPress theme.
then you have to install XAMPP ( CROSS PLATFORM, APACHE, MYSQL, PHP, PERL) on your local system or the system where you want to make your testing environment for your WordPress.
1 – Download XAMPP and start the setup wizard.
2- Select the component we want to install on our machine over XAMPP.
3- Select folder to install XAMPP on our local machine.
4 – Once the installation is done, dashboard related to XAMPP services.
5- LOAD Module by clicking on it for use.
6- Start services from the XAMPP dashboard, we want to use, we started only Apache and MYSQL services.
9- change the name of the WordPress folder from WordPress to WP.
move inside the WP folder and change the file
wp-config-sample.php to wp-config.php
10- open wp-config.php file and edit these parameters.
DB_NAME — WP
DB_USER — root
DB_PASSWORD — delete everything and leave blank
11- open phpmyadmin database on your chrome.
put this on chrome URL —– localhost/phpmyadmin
create one new database by the name WP on clicking new button on the left-hand side.
12- Load WP on chrome
you can use https and HTTP
paste this URL on chrome —- localhost/wp/
13 – WordPress installation started on localhost machine under XAMPP directory.
14- Fill the details according to your needs.
16- Login on your WordPress.
17- WordPress for testing website or blog on a local pc. whenever want to use WordPress, make sure started your XAMPP services — Mysql and Apache.
HURRAY!!! now you know How to install WordPress on local pc and can do anything on your WordPress and perform any R & D.