STEP1)Download the codeigniter from official website, link given below
https://codeigniter.com/download
Once you open the link, there you will see three different codeigniter versions –
2.x – legacy version
3.x (Recommended) – current stable version
4.x – upcoming version
In this tutorial we are using CodeIgniter 3.1.11
STEP2)Extract the downloaded folder and rename the folder name (example: codeigniter) and place it inside C:\xampp\htdocs folder in your local server
STEP3)Test the installation
Open the following link in your web browser.
http://localhost/codeigniter/