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