Enable or disable exception tracking in the APM Insight 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, set 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

    • Related Articles

    • How to identify and resolve conflicts between other APM products and the APM Insight .NET agent

      Problem statement: You are experiencing either of the below issues and suspect that another APM product is interfering with the Site24x7 .NET agent. 1. The .NET monitor is not created under APM > APM Insight > Applications, even after the .NET agent ...
    • Basic troubleshooting tips for the APM Insight Node.js agent

      If you are experiencing issues after installing the APM Insight Node.js agent, follow these troubleshooting tips. Verify agent installation and connectivity To verify the agent installation status, you can execute the following command from the root ...
    • APM Insight integration for Next.js in Kubernetes

      To integrate the Site24x7 APM Insight Next.js agent into your Kubernetes application using initContainers with the prebuilt agent image, follow the steps below: Prerequisites A Next.js application container image The Site24x7 APM Insight license key ...
    • Prerequisites for Node.js agent installation

      For a smooth Node.js agent installation, ensure that you've fulfilled the following prerequisites. The environment should have node version 16.20.2 or above installed. The application user should have full permission to access the agent directory. ...
    • APM Insight AutoProfiler – supported Operating Systems and Agents

      The AutoProfiler feature automatically profiles application performance with minimal manual intervention. This article lists the supported operating systems and APM Insight agents compatible with AutoProfiler. Supported Operating Systems Linux ...