This page applies to an earlier version of the AppDynamics App IQ Platform.
For documentation on the latest version, see the 4.4 Documentation.


Related pages:

Your Rating:
Results:
PatheticBadOKGoodOutstanding!
51 rates

If the application you are instrumenting runs in a SELinux environment, you need to specify the SELinux option when you install the PHP Agent.

If you do not specify this option and SELinux is in enforcing mode, the installer aborts the installation with an error message.

When the SELinux option is specified, the installer:

  • disables SELinux enforcement for the duration of installation.
  • installs the agent policy module.
  • updates the SELinux type context of various files and directories where appropriate.
  • sets the SELinux boolean httpd_execmem to true, which is required for the functioning of the PHP agent.

Also, in this environment you should explicitly specify the agent log directory and the proxy control directory for the installer.

To install in SELinux using the Shell Script Installer

Use the --with-selinux option when you run the install script for the agent.

For example

install.sh myController 8090 --with-selinux --log-dir=/var/log/appdynamics --proxy-ctrl-dir=/var/run/appdynamics -a=PHPCust@XC6v2n8m2$543 myApp myTier myNode
To install in SELinux using the RPM Installer

Set the APPD_CONF_WITH_SELINUX environment variable to true. The default is false.

Also set the APPD_PROXY_CTRL_DIR and APPD_CONF_LOG_DIR environment variables.

 

  • No labels