Checking the Installation Method

If you used the Agent Download Wizard, it might not be obvious which installer was used since the installer is called by the runme.sh wizard script.

Normally, if RHEL and CentOS was selected in the wizard, the RPM installer was used. If All Other Linux OS was selected in the wizard, the shell script installer was used. So use the appropriate uninstall command based on the command that was used to install the agent.

If you do not know which selection was checked in the wizard, run:
rpm -qa | grep appdynamics-php-agent
If this does not list any results, assume that the shell script installer was used to install the agent.