How to install codeigniter on xampp?


Hi there, I am going to show, how to install codeigniter on xampp.

CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications.

Codeigniter Folder Structure:

  1. Download zip file using following links  on official website https://codeigniter.com/ or https://github.com/bcit-ci/CodeIgniter
  2. Extract the compressed folder and place it on your xampp\htdocs
  3. Open application/config/config.php and set base_url.If you want to use encryption or sessions, set encryption key .




  1. If you want to use database go to application/config/database.php and add database connection string as mentioned below 


Load the following url in browser. http://localhost/demo/



Comments