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)
New to ADSelfService Plus?
Related Articles
How to configure Prometheus inside Openshift to scrape necessary metrics for Applications Manager?
To setup Prometheus inside a Openshift Cluster and scrape metrics for monitoring the same in Applications Manager, kindly follow the steps given below: Create a new Project "monitor" inside the Desired Cluster to be monitored using the below command. ...
How to configure the number of method calls to be tracked in the trace details in PHP applications?
The first 1000 methods that exceed the method threshold are tracked by default, after which only the external calls are tracked. You can modify this by changing the zpa.additional_buffer directive in the zpa.ini (Linux) or php.ini (Windows) file. ...
Configure Apache Server running in WAMP server
Introduction: WampServer refers to a software stack for the Microsoft Windows operating system, consisting of the Apache web server, OpenSSL for SSL support, MySQL database and PHP programming language. It comes as a bundled application with all the ...
Reconfigure APM Insight PHP agent after PHP version upgrade
If you have upgraded your PHP version and face problems in monitoring after the upgrade, here's how you can resolve it.In general, APM Insight PHP agent registers with the PHP version present in the server at the time of installation.So when you ...
How to deploy the PHP agent in a Kubernetes environment?
The PHP agent (only PHP agent version 7.0 and above) can be deployed in a Kubernetes environment using either of the following methods. To avoid using the license key, Application Name, and host in the deployment files, you can also store them in a ...