Files Added by Installation

PHP configuration files

For Splunk AppDynamics, the PHP configuration files of interest are the php.ini and appdynamics_agent.ini fragment. Splunk AppDynamics settings can be found in either .ini file, depending on the operating system under which your PHP is installed.

The PHP Agent installer adds the appdynamics_agent.ini file to the directory that contains your php.ini file. You can find this directory using the following command:

php -i | grep -e "Additional .ini files parsed"

If the installer is not able to determine the directory where the ini fragments for your PHP deployment live, it displays the required Splunk AppDynamics ini fragment and prompts you to copy and paste it into your main php.ini file.

Also, see https://www.php.net/manual/en/configuration.file.php for information about possible locations.

.so and .dll files

The installer also installs the following file in your PHP extensions directory.

  • For Linux: appdynamics_agent.so
  • For Windows: appdynamics_agent.dll
php -i | grep  extension_dir

Logs

There is an agent log and a proxy log for each application.

By default, the agent log is written to $<php_agent_install>/logs/agent.log. The log contains the transactions that the agent processes and then sends to the proxy. The default pattern for agent log naming is:

  • agent.log : the current log
  • agent.log.1 : most recent log
  • agent.log.2 : second most recent log
  • agent.log.3 : third most recent log
  • agent.log.4 : fourth most recent log
  • agent.log.5 : fifth recent log

By default, the proxy log is written to

$<php_agent_install>/logs/proxy_$date.log. This log contains the transactions that the proxy accepts from the agent and then sends to the Controller.

If you configure the logs directory with the --log-dir option, the proxy logs are written to the same directory as the agent logs.

For information about the location of log files generated by an RPM installation, see RPM Log file in Install the PHP Agent by RPM.