Troubleshooting errors while installing PHP agent

Error while loading shared libraries: cannot open shared object file:  No such file or directory

APM Insight PHP agent requires libcurl to be available in the default library directories, like /usr/lib. However, if libcurl is not installed on the system, the agent can use the library in the /opt/zpa/lib directory.

To enable the agent to use the pre-compiled version shipped with PHP Agent, follow the below given steps:

1. Navigate to /opt/zpa/lib and type the command 
  1. 'ln -s'. This will create a symbolic link and zpdp will load properly
2. Restart the zpdp service, via 
cd /opt/zpa/bin && sh restart 
(on systemd supported servers) service zpdpsvc restart. 

    • Related Articles

    • Customize URL names using PHP agent API

      With APM Insight PHP agent, you can customize URL names for your web transactions.  Here's how you can do it: Open the PHP script of the transaction for which you want to customize the URL. Add the following snippet in any part of the PHP script ...
    • Error : GLIBC 2.14 not found (required by ./installer)​

      It means that the downloaded PHP agent was built with GLIBC 2.14 version, and it requires that version. Your system has an older version of GLIBC installed and hence you face this error.   PHP agent built with older version of GLIBC can be downloaded ...
    • Ignore transactions from monitoring

      To ignore or drop transactions from monitoring by the APM Insight PHP agent, follow the below-given steps. Install APM Insight PHP agent in your application and add a configuration file /opt/zpa/conf/transaction_drop_patterns.conf Add transaction ...
    • Automatically restart APM Insight PHP agent during system reboots

      To automatically restart APM Insight PHP agent during system reboots, use the below given steps: For systemd servers:  From APM Insight PHP agent version 2.8, agent will automatically start during server reboots for systemd supported Linux flavors.  ...
    • Troubleshoot the [Errno 111] Connection refused error for Oracle plugins

      When installing Oracle database monitoring plugins, you may encounter the following error: DPY-6005: cannot connect to database. [Errno 111] Connection refused This error indicates that there is an error connecting to the Oracle database server. Here ...