Specify the PHP path during agent installation

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.
  1. sudo -E sh InstallAgentPHP.sh -license.key "licensekey" -zpa.application_name "Application Name" -php.install_path "/your/php/path"

For Windows

  1. Download and execute the agent_php.msi file.
  2. Click the Advanced.
    APM Insight PHP Agent

  3. Enter the PHP installation path and click Next.
    PHP installation path


    • Related Articles

    • APM Insight .NET agent bulk installation using ManageEngine Endpoint Central

      You can install the APM Insight .NET agent on multiple machines at once by following the steps given below: Download the APM Insight .NET agent from the Site24x7 account. Log in to the ManageEngine Endpoint Central portal and click the Software ...
    • APM Insight agent log paths

      Folder path to view One agent logs One agent logs can be found only in the common application folder in Windows (usually under C:\ProgramData from Vista onwards). Check the following folder path in Windows: C:\ProgramData\Site24x7APMOneAgent\Logs ...
    • Prerequisites for Java agent installation

      For a smooth Java agent installation, ensure that you've fulfilled the following prerequisites. The environment should have Java version 8 or above installed. The application user should have full permissions over the agent directory. The server ...
    • 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 ...
    • 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 ...