File: upgrade_316.rst

package info (click to toggle)
php-codeigniter-framework 3.1.13%2Bdfsg1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,228 kB
  • sloc: php: 37,178; xml: 205; makefile: 138; python: 66; sh: 65
file content (28 lines) | stat: -rw-r--r-- 1,050 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#############################
Upgrading from 3.1.5 to 3.1.6
#############################

Before performing an update you should take your site offline by
replacing the index.php file with a static one.

Step 1: Update your CodeIgniter files
=====================================

Replace all files and directories in your *system/* directory.

.. note:: If you have any custom developed files in these directories,
	please make copies of them first.

Step 2: Remove usage of the APC Cache driver (deprecation)
==========================================================

The :doc:`Cache Library <../libraries/caching>` APC driver is now
deprecated, as the APC extension is effectively dead, as explained in its
`PHP Manual page <https://secure.php.net/manual/en/intro.apc.php>`_.

If your application happens to be using it, you can switch to another
cache driver, as APC support will be removed in a future CodeIgniter
version.

.. note:: The driver is still available, but you're strongly encouraged
	to remove its usage sooner rather than later.