Schedule demo

Uninstalling APM Insight PHP Agent in Linux


APM Insight PHP agent deployed on the web server gives you end-to-end web-transaction awareness, enabling you to isolate performance issues and resolve them quickly. To monitor your PHP application's performance, you will need to deploy the agent onto your web server. The agent collects application performance metrics and sends them to the Applications Manager server every 60 seconds.

Browse through the following topics to learn how to uninstall PHP agent based on respective versions:

Uninstall PHP agent v4.0 and above

Follow the steps given below to uninstall PHP agent for versions 4.0 and above:

  1. Execute the below uninstallation command:
    sudo sh /opt/zpa/bin/agent_php.sh uninstall
  2. Restart your web server as well as the FastCGI Process Manager (FPM).

Uninstall PHP agent below v4.0

Follow the steps given below to uninstall PHP agent for versions below 4.0:

  1. Change the directory to /opt/zpa/binusing the following command:
    cd /opt/zpa/bin
  2. Execute the uninstall command as mentioned below:
    sudo sh configure.sh uninstall
  3. Now remove the agent directory by executing the following command:
    sudo rm -r /opt/zpa
  4. In case the agent process is still running, stop it using the following command:
    sudo kill -9 $(pgrep zpdp) > /dev/null 2>&1

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by over 6000+ businesses globally