RPM Environment Variables

Environment Variable Description Default Required?
APPD_PHP_PATH Directory containing the PHP binary None If your PHP binary is not in a standard location. By default, the installer uses the PHP CLI binary to determine where to install the app agent.
APPD_PHP_CONFIGURATION_DIR INI directory in which to install the appdynamics_agent.ini file. Takes precedence over the APPD_PHP_PATH setting. Directory containing your php.ini file. See information on files added to your installation in Install the PHP Agent. If your PHP binary is not in the standard location or if no PHP CLI binary is available.
APPD_PHP_EXTENSION_DIR Extensions directory in which to install the appdynamics_agent.so file. Takes precedence over the APPD_PHP_PATH setting. Your PHP extensions directory. See information on files added to your installation in Install the PHP Agent. If your PHP binary is not in the standard location or if no PHP CLI binary is available.
APPD_PHP_VERSION Version of PHP that you are instrumenting. Valid formats are version numbers to one or two decimal positions, for example, 7 .4 and 7 .4.29 are both valid. Takes precedence over the APPD_PHP_PATH setting. Version used by your PHP CLI binary If no PHP CLI binary is available, along with the APPD_PHP_CONFIGURATION_DIR and APPD_PHP_EXTENSION_DIR variables.

APPD_CONF_CONTROLLER_HOST

Controller hostname

localhost

APPD_CONF_CONTROLLER_PORT

Controller port

8080

APPD_CONF_APP

Application name

MyApp

APPD_CONF_TIER

Tier name

Hostname of the machine running the script—same as the node name

APPD_CONF_NODE

Node name

Hostname of the machine running the script

APPD_CONF_ACCOUNT_NAME

Account name

Defaults to customer1

If you have an on-premises Controller running in multi-tenant mode or if you are using the SaaS Controller.

APPD_CONF_ACCESS_KEY

Account key

None

Yes. To find your access key, click
in the upper right corner of the Cisco AppDynamicsUI, then click License.

APPD_CONF_SSL_ENABLED

True false

false

APPD_CONF_HTTP_PROXY_HOST

Hostname or IP address of the http proxy server

None

If you want to route data to the controller through a proxy server.

APPD_CONF_HTTP_PROXY_PORT

HTTP or HTTPS port of the http proxy server; must be set if APPD_CONF_HTTP_PROXY_HOS

None

If you want to route data to the controller through a proxy server.
APPD_CONF_HTTP_PROXY_USER Username on the http proxy server None If you want to route data to the controller through a proxy server that requires a username.
APPD_CONF_HTTP_PROXY_PASSWORD_FILE Password on the http proxy server None You want to route data to the controller through a proxy server that requires a password.
APPD_PROXY_CTRL_DIR Initial control communication directory between the agent and the Java proxy None

APPD_CONF_LOG_DIR Directory to which the agent writes the agent and proxy logs <php_agent_install>/logs
APPD_CONF_CLI_LONG_RUNNING_ENABLED Defends PHP in long-running CLI applications. false Advisable if instrumenting long-running CLI applications. See Long-Running CLI Applications with the Suhosin Patch in Configure the Agent for PHP CLI Applications.