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:
Uninstall PHP agent version 4.0 and above
- Execute the below uninstallation command:
sudo sh /opt/zpa/bin/agent_php.sh uninstall
- Restart your web server and the FastCGI Process Manager (FPM).
Uninstall PHP agent version below 4.0
- Change the directory to /opt/zpa/bin.
cd /opt/zpa/bin
- Execute the uninstall command.
sudo sh configure.sh uninstall
- Remove the agent directory.
sudo rm -r /opt/zpa
- If the agent process is still running, stop it.
sudo kill -9 $(pgrep zpdp) > /dev/null 2>&1