Code Igniter User Guide Version 1.4.1


Installation Instructions

Code Igniter is installed in four steps:

  1. Unzip the package.
  2. Upload the Code Igniter folders and files to your server. Normally the index.php file will be at your root.
  3. Open the application/config/config.php file with a text editor and set your base URL.
  4. If you intend to use a database, open the application/config/database.php file with a text editor and set your database settings.

If you wish to increase security by hiding the location of your Code Igniter files you can rename the system folder to something more private. If you do rename it, you must open your main index.php file and set the $system_folder variable at the top of the page with the new name you've chosen.

That's it!

If you're new to Code Igniter, please read the Getting Started section of the User Guide to begin learning how to build dynamic PHP applications. Enjoy!

Troubleshooting

If you find that no matter what you put in your URL only your default page is loading, it might be that your server does not support the PATH_INFO variable needed to serve search-engine friendly URLs. As a first step, open your application/config/config.php file and look for the URI Protocol information. It will recommend that you try a couple alternate settings. If it still doesn't work after you've tried this you'll need to force Code Igniter to add a question mark to your URLs. To do this open your application/config/config.php file and change this:

$config['index_page'] = "index.php";

To this:

$config['index_page'] = "index.php?";