This topic lists all the configuration directives for Zend Code Tracing.
The table below is a summary of all the Zend Code Tracing configuration directives, and displays the directive name, its default value, and a description:
Directive |
Default Value |
Description |
1 |
Is tracing functionality enabled? |
|
1M |
The size of the trace memory buffer. |
|
2 |
The type of dump produced. |
|
48 |
The maximal length of string values to store in trace files. Longer strings will be truncated. |
|
2 |
The maximal depth of arrays to store in trace files. Deeper nesting levels will not be stored. |
|
10 |
The maximal number of array elements to store in trace files. Longer arrays will be truncated. |
|
codetracing/dump |
The file path and name prefix for saving trace files, relative to zend.data_dir. |
|
0 |
Enable Tracing data collection. |
|
1 |
Enable execution time measurment. |
|
1 |
Enable source file collection. |
|
1 |
Enable internal functions collection. |
|
1 |
Enable user functions call collection. |
|
1 |
Enable tracing include and require calls. |
|
1 |
Enable function call argument collection. |
|
1 |
Enable function return value collection. |
|
1 |
Enable PHP exception data collection. |
|
1 |
Enable array contents recording. |
|
1 |
Enable output data writing collection. |
|
1 |
Enable HTTP response headers collection. |
|
1 |
Enable memory usage data collection. |
|
1 |
Enable PHP error collection. |
|
1 |
Enable Zend Monitor event recording. |
|
0 |
Trace data is always persisted. |
|
1 |
Save tracing data if a fatal signal (e.g. a segmentation fault) is raised. |
|
1 |
Amount of time in seconds to wait between consecutive Code Tracing data writes. |
|
codetracing.log |
Log file for the Code Tracing module (relative to the log dir). |
|
0 |
Logging verbosity level. |
|
@ZEND_PREFIX/etc/functions.txt |
List of internal functions to Trace. |
|
5 |
Number of concurrent trace buffer allocated. |
|
10 |
The maximal size of the log file before it is rotated. |
|
0 |
Use cycles-based time caclculation. Set to false only if you have a problem with frequency probe. |
|
5120 |
Maximum disk space for trace files. |
The list below contains information for all the available configuration directives for Zend Code Tracing: their description, type, units, default value, modification scope, and the Zend Server version they became available in.
Is tracing functionality enabled?
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_PERDIR
Available Since Version: 4.0
The size of the trace memory buffer.
Default Value: 1M
Units: Bytes
Type: string
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
The type of dump produced.
Default Value: 2
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
The maximal length of string values to store in trace files. Longer strings will be truncated.
Default Value: 48
Units: Bytes
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
The maximal depth of arrays to store in trace files. Deeper nesting levels will not be stored.
Default Value: 2
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
The maximal number of array elements to store in trace files. Longer arrays will be truncated.
Default Value: 10
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
The file path and name prefix for saving trace files, relative to zend.data_dir.
Default Value: codetracing/dump
Type: string
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable Tracing data collection. If the Zend Monitor is loaded, the value of this directive is controlled by the Monitor extension (i.e. it will override any value set in the codetracing.ini file).
Default Value: 0
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable execution time measurment.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable source file collection.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable internal functions collection.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable user functions call collection.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable tracing include and require calls.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable function call argument collection.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable function return value collection.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable PHP exception data collection.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable array contents recording.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable output data writing collection.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable HTTP response headers collection.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable memory usage data collection.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable PHP error collection.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Enable Zend Monitor event recording.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Trace data is always persisted.
Default Value: 0
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Save tracing data if a fatal signal (e.g. a segmentation fault) is raised.
Default Value: 1
Type: boolean
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
Amount of time in seconds to wait between consecutive Code Tracing data writes.
Default Value: 1
Units: MBytes
Type: int
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
Log file for the Code Tracing module (relative to the log dir).
Default Value: codetracing.log
Type: string
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
Logging verbosity level.
Default Value: 0
Type: int
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
List of overriding functions. Can contain function names, wildcards (prefix_*) and references to files (@filename). Entries are separated by comma. File contains one entry per line, which can be function name or wildcard.
Default Value: @ZEND_PREFIX/etc/functions.txt
Type: string
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
Number of concurrent trace buffer allocated.
Default Value: 5
Type: int
Modification Scope: ZEND_INI_ALL
Available Since Version: 4.0
The maximal 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
Use cycles-based time caclculation. Set to false only if you have a problem with frequency probe.
Default Value: 0
Type: boolean
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 4.0
Maximum disk space for trace files. For unlimited, set 0.
Default Value: 5120
Units: MBytes
Type: int
Modification Scope: ZEND_INI_SYSTEM
Available Since Version: 6.1