Zend Data Cache - Configuration Directives

Configuration Directives Summary

Directive Type Modification Scope Description
zend_datacache.shm.max_segment_size integer PHP_INI_SYSTEM The maximal size of a shared memory segment
zend_datacache.shm.memory_cache_size integer PHP_INI_SYSTEM Amount of shared memory to be used by the cache
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 Administration Interface
zend_datacache.apc_compatibility boolean PHP_INI_SYSTEM When enabled, the Data Cache extension registers APC compatibility methods

Configuration Directive Details

zend_datacache.shm.max_segment_size

The maximal size of a shared memory segment

Type: integer

Units: MBytes

Default Values:

Available since version 4.0

zend_datacache.shm.memory_cache_size

Amount of shared memory to be used by the cache

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 Administration 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