How to configure the stack depth of traces in PHP applications?
How to configure the stack depth of traces in PHP applications?
The default stack depth of traces is 15. You can change this by modifying the
zpa.stack_depth
directive in the
zpa.ini (Linux)
or
php.ini (Windows)
.
Default configuration:
In the zpa.ini (Linux) or php.ini (Windows),
zpa.stack_depth = 15
Note:
The maximum allowed value is 30.
To modify the stack depth for a specific application, update the
.
htaccess (Linux)
or
.user.ini (Windows)
.
In the
.htaccess
file (Linux):
php_value zpa.stack_depth 15
In the
.user.ini
file (Windows),
zpa.stack_depth = 15
Note:
15 is a default number in the above mentioned commands. You can specify the stack depth required (<30)