Prerequisites
- Ensure that PHP ZTS is installed. Before you install the PHP Agent, ensure that you use
a supported PHP version.
You can check your PHP version using the following command:
php -i
- The PHP Agent does not work with PHP applications that are built with the enable-debug
configuration option or in any build otherwise compiled with debugging symbols. To
determine whether the application was built with debugging symbols, use the following
command:
php -i | grep -e "Debug Build"
The expected response must be:
Debug Build => no
- You can get the PHP Agent distribution from the Splunk AppDynamics Download Portal. Ensure to get the distribution file appropriate for your system. For all Linux distributions, use the distribution identified as PHP ZTS Agent 64-bit Linux.
- During the installation, you must provide Controller connection settings and identifying information for this PHP node. The Getting Started Wizard guides you through this configuration, therefore if you are installing an agent for the first time, it is recommended to use the Getting Started Wizard. For information about the Controller connection settings, see Agent-to-Controller Connections.
- To complete the instrumentation, you need to stop and start the Apache Server. Ensure to perform the installation in a way that minimizes disruption to service users, if applicable.
Do not install the PHP Agent along with other non-Splunk AppDynamics Application Performance Management (APM) tools, especially in a production environment. The PHP Agent installation may fail if there are other APM products installed in the same managed environment.