Zend Data Cache - Configuration Directives

Configuration Directives Summary

Directive

Type

Modification Scope

Description

zend_datacache.shm.memory_cache_size

integer

PHP_INI_SYSTEM

Amount of shared memory each data cache namespace will consume. This includes the global namespace used when none are defined in cached objects

zend_datacache.disk.save_path

string

PHP_INI_SYSTEM

The path for storing cached content to the disk

zend_datacache.disk.dir_level

integer

PHP_INI_SYSTEM

Directory depth, for storing keys

zend_datacache.enable

boolean

PHP_INI_SYSTEM

Enables the Data Cache. The Data Cache cannot work without this directive. The Data Cache can be turned on or off from the User Interface

zend_datacache.apc_compatibility

boolean

PHP_INI_SYSTEM

When enabled, the Data Cache extension registers APC compatibility methods

zend_datacache.log_verbosity_level

integer

PHP_INI_SYSTEM

The log verbosity level [0-5]

zend_datacache.log_rotation_size

integer

PHP_INI_ALL

The maximum size of the log file before it is rotated

zend_datacache.lock_on_expire

boolean

datacache.ini

Enables the lock on expire mechanism

Configuration Directive Details

zend_datacache.shm.memory_cache_size

Amount of shared memory each data cache namespace will consume. This includes the global namespace used when none are defined in cached objects

Type: integer

Units: MBytes

Default Values:

Available since version 4.0

zend_datacache.disk.save_path

The path for storing cached content to the disk

Type: string

Default Value: datacache

Available since version 4.0

zend_datacache.disk.dir_level

Directory depth, for storing keys

Type: integer

Default Value: 2

Available since version 4.0

zend_datacache.enable

Enables the Data Cache. The Data Cache cannot work without this directive. The Data Cache can be turned on or off from the User Interface

Type: boolean

Default Value: 1

Available since version 4.0

zend_datacache.apc_compatibility

When enabled, the Data Cache extension registers APC compatibility methods

Type: boolean

Default Value: 1

Available since version 4.0

zend_datacache.log_verbosity_level

The extension's log verbosity level. Level 1 includes very important information messages, errors and warnings. Level 2 displays notices. Greater levels (up to 5) are reserved for debug purposes

Type: integer

Default Value: 2

Available since version 4.0

zend_datacache.log_rotation_size

The maximum size of the log file before it is rotated

Type: integer

Units: MBytes

Default Value: 10

Available since version 4.0