Help Docs

Uninstall PHP Agent (Linux)

Site24x7's 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 Site24x7 agent onto your web server. The agent collects application performance metrics and sends them to the central Site24x7 server every 60 seconds.

To uninstall your PHP agent, follow the steps below:

  1. Uninstall PHP agent version 4.0 and above
  2. Uninstall PHP agent version below 4.0

Uninstall PHP agent version 4.0 and above

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

Uninstall PHP agent version below 4.0

  1. Change the directory to /opt/zpa/bin.
    cd /opt/zpa/bin
  2. Execute the uninstall command.
    sudo sh uninstall
  3. Remove the agent directory.
    sudo rm -r /opt/zpa
  4. If the agent process is still running, stop it.
    sudo kill -9 $(pgrep zpdp) > /dev/null 2>&1

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.

We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.

Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!