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: 
  1. 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).
  1. In the .htaccess file (Linux),
    php_value zpa.stack_depth 15 
  1. In the .user.ini file (Windows),
    zpa.stack_depth = 15