How to enable or disable exception tracking in the PHP agent?

How to enable or disable exception tracking in the PHP agent?

To enable exception tracking, set the zpa.track_exceptions directive to 1 in the zpa.ini (Linux) or php.ini (Windows).
Similarly, to disable it, set it to 0.

To enable error tracking:
zpa.track_exceptions = 1
To disable error tracking:
zpa.track_exceptions = 0
To enable or disable exception tracking for a specific application, update the .htaccess (Linux) or .user.ini (Windows).

In the .htaccess (Linux),
php_value zpa.track_exceptions 1
In the .user.ini (Windows),
zpa.track_exceptions = 1

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to enable or disable error tracking in the PHP agent?

                      To enable error tracking, set the zpa.track_errors directive to 1 in the zpa.ini (Linux) or php.ini (Windows) file. Similarly, to disable, set it to 0. To enable error tracking: zpa.track_errors = 1 To disable error tracking: zpa.track_errors = 0 To ...
                    • How to set the PHP path during agent installation?

                      This is only applicable to the agent versions 4.2 and above. For Linux Step 1: Download the installation script. wget -O InstallAgentPHP.zip https://www.manageengine.com/products/applications_manager/54974026/InstallDataExporter.zip && unzip ...
                    • How to install the APM Insight PHP Agent in an Azure Web App?

                      Follow these steps to install and configure the APM Insight PHP Agent in an Azure Web App. Step 1: Create a deployment script Navigate to the directory /home/apm/ (create it if it doesn’t exist). Create a new shell script named apm-phpagent-deploy.sh ...
                    • How to customize instrumentation in PHP agent?

                      By default, the following components are tracked: CASSANDRA, CURL, MSSQL, MYSQL, ORACLE, REDIS, MEMCACHED, PDO, and POSTGRES. These can be individually enabled or disabled by modifying the corresponding ini directive in the zpa.ini (Linux) or php.ini ...
                    • How to enable and disable distributed tracing in PHP applications?

                      To enable distributed tracing, set the "zpa.capture distributed trace" directive to "1" in the zpa.ini (Linux) or php.ini (Windows). Similarly, to disable, set to "0." To enable distributed tracing: In the zpa.ini (Linux) or php.ini (Windows), ...