In this tutorial, we will learn how to setup Codeignitor 3 in localhost with XAMPP. In order to setup the Codeignitor on xampp you have to follow two steps:
1- You should have xampp installed already.
2 - You should have the codeignitor setup.
3- Start the Apache and MYSQL server.
5- Create new folder in htdocs and copy all codeignitor files in that folder.
4- Go to you browser and write localhost/phpmyadmin and create a new database to connect with codeignitor framework.
5- Go to root folder of codeignitor application folder and go to application - config - config.php and add the base url.
6- Go to database.php in application-config folder and provide the suername, password and database name.
7- All done! Your Codeignitor application is ready to work on.