CodeIgniter 2.20 – How to set up in XAMPP

This is the first part of the CodeIgniter 2.20 tutorials series. In this part, you will learn how simple it is to install CodeIgniter in XAMPP.

Lets assume that the web application you are making is “yourapp”.

  1. First go to CodeIgniter website and download it.
  2. Now go to your www or htdocs folder in XAMPP and create a new folder for your application. Lets name it yourapp.


  3. Copy the downloaded CodeIgniter .zip file into your folder (yourapp) and unzip it. You will have a folder looking like this.
  4. Now go to the following link in your browser: http://localhost/yourapp/
  5. You will be presented with the welcome screen of codeigniter.

Codeigniter default welcome screen

At this stage, you have CodeIgniter ready for your application development. The page you are seeing is a view at application/views/welcome_message.php which is loaded using the controller at application/controllers/welcome.php

Back to CodeIgniter Tutorials

By codeonion

Codeonion contributes to the honorable mission of “helping people learn and earn online”. Whether your day job is creative or not, life is better when you learn and apply creative skills regularly. To do this is satisfying in its own right and a practical investment in your future.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.