If traffic doesn't appear in the Controller after you have installed the AppDynamics PHP Agent and started the instrumented server, try the following troubleshooting steps.
Ensure that the Agent is Installed in the Correct Directory
It is possible that the agent was installed in the wrong directory. Verify the location of your PHP installation.
- Verify the location of your PHP by running
phpinfo. See http://us1.php.net/phpinfo
Then check where the installer actually installed the agent files.
appdynamics_agent.inifile should be in the same directory that contains the php.ini file for your PHP installation.
appdynamics_agent.sofile should be in the extensions directory for your PHP installation.
If the agent files are not in the correct directories, re-install the agent with the
Re-install the agent
If the app agent is not installed in the right directory, re-install the agent using the
install.sh installer with the
-i and -e options. Use the
-i to install the
appdynamics_agent.ini file in the same directory as your
php.ini file and the -e option to install the
appdynamics_agent.so file in the same directory as your PHP extensions directory. SeeInstall the PHP Agent by Shell Script.
If you initially installed the agent using the RPM installer, you can find the shell script installer at
Check error messages in the installation output
When you reinstall, examine carefully any error messages in the output of the install script, especially those that direct you to copy some settings into your
If necessary copy those settings into the php.ini file. See PHP Agent Configuration Settings for information on common settings that may be missing.
Check the AppDynamics Settings Block in the Configuration
Run this command:
and examine the output. You should see an
appdynamics_agent.ini file and a configuration block listing appdynamics
Confirm User Permissions
Check that the following permissions are set:
Verify that the Proxy is Running
The Java proxy is the part of the agent that communicates with the Controller. If the agent is installed in the right place, confirm that the Java proxy is running.
- From the command line enter,
ps aux | grep java.
- Inspect the list. You should see output similar to the following if the proxy is running:
If you are instrumenting a PHP CLI script, you need to start the proxy manually. You may also need to start the proxy manually if you have special requirements for running Java processes. See
Check the Configuration Properties
It is possible that the properties that the proxy uses to communicate with the Controller were not set properly.
You can modify these properties in the
appdynamics_agent.ini file, wherever they are set in your environment. See PHP Agent Configuration Settings.