官术网_书友最值得收藏!

Installing CodeIgniter

First of all, we need to have a hosted PHP server (Version 5.3 or later) and a MySQL (one of the latest versions) server, where we know the database credentials. Local database access from the PHP is recommended for simplicity.

Note that the server will operate in a CGI (Common Gateway Interface) fashion in order to let CI operate. We can have a local web development environment on our PC or a remote server hosted and dedicated.

Once we've set up a local web development environment, we'll need to download the latest version of CI, which is Version 2.1.2 at the time of writing this book. The link to download the latest version is http://codeigniter.com/downloads/. Now, if we look inside the CI folder, we should see the following directory tree:

codeigniter/
  index.php
  application/
  cache/
  config/
  controllers/
  core/
  errors/
  helpers/
  hooks/
  language/
  libraries/
  logs/
  models/
  third_party/
  views/
  system/
  core/
  database/
  fonts/
  helpers/
  language/
  libraries/
主站蜘蛛池模板: 唐海县| 淅川县| 南丰县| 格尔木市| 湖南省| 安徽省| 竹北市| 忻城县| 新平| 延川县| 南京市| 兴仁县| 关岭| 普陀区| 大邑县| 砚山县| 高清| 社会| 西盟| 莎车县| 威宁| 旺苍县| 金秀| 石林| 博白县| 乌拉特后旗| 松滋市| 武隆县| 洪湖市| 东丽区| 策勒县| 连州市| 五大连池市| 兖州市| 新巴尔虎右旗| 饶河县| 金塔县| 西华县| 霍林郭勒市| 宁陕县| 永登县|