This topic lists all the configuration directives for Zend Data Cache.
The table below is a summary of all the Zend Data Cache configuration directives, and displays the directive name, its default value, and a description:
Directive |
Default Value |
Description |
32 / 2 |
Amount of shared memory to be used by a single namespace. |
|
0 |
Amount of shared memory to be used by a single namespace (in KiB). |
|
0 |
Maximum number of namespaces that Data Cache will allocate. |
|
datacache |
The path for storing cached content to the disk |
|
2 |
Directory depth for storing keys. |
|
1 |
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 |
|
1 |
Enables the lock on expire mechanism. This is ON by default and should stay that way for performance reasons. |
|
1 |
When enabled, the Data Cache extension registers APC compatibility methods. |
|
2 |
The log verbosity level [0-5]. |
|
10 |
The maximum size of the log file before it is rotated. |
The list below contains information for all the available configuration directives for Zend Data Cache: their description, type, units, default value, modification scope, and the Zend Server version they became available in.
Amount of shared memory to be used by a single namespace.
Default Value:
Units: MBytes
Type: int
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
Amount of shared memory to be used by a single namespace (in KiB). When set to 0, the amount of memory to use is taken from the directove 'memory_cache_size'.
Default Value: 0
Units: KBytes
Type: int
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 5.5
Maximum number of namespaces that Data Cache will allocate.
Default Value: 0
Type: int
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 5.5
The path for storing cached content to the disk
Default Value: datacache
Type: string
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
Directory depth for storing keys.
Default Value: 2
Type: int
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
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
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
When setting this directive to 1 (i.e. ON), Data Cache will extend the time-to-live of an expired item until a replacement is provided. The first process that attempts to fetch an expired item will receive NULL, while other processes will keep on receiving the expired item - it is up to the caller to provide a new and updated item.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
When enabled, the Data Cache extension registers APC compatibility methods.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
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.
Default Value: 2
Type: int
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
The maximum size of the log file before it is rotated.
Default Value: 10
Units: MBytes
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0