Tuesday, July 10, 2012

Upgrade Codeigniter Version 2.1.0 to 2.1.2

Read Indonesian version here
A few weeks ago codeigniter was release the newest version 2.1.2. Then how do we upgrade CodeIgniter version 2.1.0 or 2.1.1 to version 2.1.2. Here are step by step.
  1. Download newest version here
  2. Set your site into offline mode
  3. Create backup from your file/folder.
  4. Replace all file in folder "system" and replace file index.php, with new file has been downloaded (codeigniter versi 2.1.2)
    Note : If you have any custom file in this folder, copy and paste it from backup.
  5. Replace file mime.php located on the config/mime.php
  6. To get support IPv6, upgrade field IP_address to 45 characters for example.
    ALTER TABLE ci_sessions Ganti IP_address IP_address varchar (45) standar '0 'NOT NULL
  7. If you have codeigniter version 2.1.1 just go to step no. 3


Post a Comment