Chapter 2. Setting up a CodeIgniter Site

Setting up the CI package on your web server or a local machine is easy. This chapter explains, what happens when you install the site and which files will be created. Let's look at:

  • What software you require for your site's development
  • Installing the CI files—a simple download and unzip operation
  • The basic configuration of CI—which folders are there and how they are organized
  • The initial controller and view that CI installs
  • Some basic modifications to show how these work

Prerequisites

CodeIgniter is very flexible. It will work equally well with PHP 4.3.2 and above, or PHP 5, as there are lot of hosting providers that still don't support PHP 5, this is useful. It is suggested to search for a PHP 5 hosting. CI ...

Get CodeIgniter 1.7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.