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.
Step 2:
Set your PHP path along with other installation arguments.
- sudo -E sh InstallAgentPHP.sh -license.key "licensekey" -zpa.application_name "Application Name" -php.install_path "/your/php/path"
For Windows
- Download and execute the agent_php.msi file.
- Click the Advanced.
- Enter the PHP installation path and click Next.
Related Articles
Reconfigure APM Insight PHP agent during 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 ...
Methods to upgrade PHP agent (Windows/Linux)
To upgrade the PHP agent to the latest version, repeat the installation steps. Windows | Linux
Troubleshooting steps if you don't see any data after installing the PHP agent
Problem statement: The APM Insight PHP agent has been installed, but no data is displayed in the Site24x7 web client. Troubleshooting steps: Ensure that you have installed both the PHP agent and the S247DataExporter. Check that you have restarted the ...
How to enable or disable error tracking in the PHP agent?
To enable error tracking, set the zpa.track_errors ini directive to 1. Similarly, to disable it, set it to 0. To enable error tracking: zpa.track_errors=1 To disable error tracking: zpa.track_errors=0 Refer to this document on how to modify the PHP ...
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: ...