Uninstall the PHP Agent using RPM

If you installed the agent using RPM, use RPM to uninstall it, as follows:
sudo rpm -e appdynamics-php-agent-<version>
Notice that you need to identify the version of the package. To find the version of the package that you installed, you can enter:
rpm -qa | grep appdynamics-php-agent

The existing configurations are saved in a tar file in /tmp, as indicated upon completion of the uninstall process.