Installing CodeIgniter
One thing you don't need is your credit card: CI is completely free!
Once your server is set up, go to the CodeIgniter site at
http://www.codeigniter.com/ and download the latest version of the framework.
Version 1.5.3, the latest, is only 737KB when zipped, so the download doesn't take
that long
Unzip the folder, and install the CodeIgniter files in your web root folder. If you are
using Xampplite, this is usually the htdocs folder within the Xampplite folder.
The CodeIgniter index.php file should be in the root directory. The root folder is the
folder that you would point at if you navigated to the site—in this case, by accessing
http://127.0.0.1. Of the two minutes we need to set up the site, one minute is up!
Included with CI is a comprehensive user guide (in the user_guide folder). You'll
use this a lot. It is usually clear, and often goes into more detail than this book can.
So, try it if you get stuck.
When these files are on your machine, you can access them in two ways:
• As a URL—e.g., http://127.0.0.1
• Through the normal directory path: e.g.,
C:/xampplite/htdocs/index.php
You should be able to see the CI welcome screen by simply navigating to your URL
with the browser. It's that simple! The welcome page tells you that what you are
seeing is built by two files, a view and a controller.
No comments:
Post a Comment