WordPress is the widely used CMS for creating blogs. Installing WordPress is a very easy and simple process. It will take too little time to complete the Installation.
There are many providers in the market that make the one-step WordPress installation possible by clicking the installer tool. In this tutorial, we are going to see the prerequisites and the steps needed to install WordPress in our local system.
Prerequisites: WordPress requires PHP and MySQL. So, before installing we need to ensure that we have PHP and MySQL in our local environment.
If there is no PHP, MySQL in your machine, install them using packages. I prefer XAMPP to create a PHP environment easily.
WordPress Installation Steps
The following list includes the steps to be followed to install WordPress in a local environment.
- Download the latest version of the WordPress zip from the official website linked.
- Extract the WordPress zip into the PHP root directory.
- Create a database for the WordPress application using a database client like
PHPMyAdmin. - Rename
wp-config-sample.phptowp-config.phpand configure the database. - Run
wp-admin/install.phpand enter all the mandatory information and submit the form. It will redirect us to log in.