Hello!
I'm doing a PoC on AppDynamics for a jailed php application on EL5 (CentOS/RHEL/OL), and have run into a bit of a snag. The front-end is executed by the Apache mod-php while the back-end code and management code (start/stop application etc) is executed from the command line. In typical deployments these will share the php configuration file.
Now, If I don't specify a proxy ctl directory, running php from the command line fails with the following error:
[AD agent] CLI mode expects proxy ctrl dir to be specified via APPD_PROXY_CTRL_DIR environment variable or agent.proxy_ctrl_dir INI setting
If I do specify a proxy ctl directory, instrumentation of the web application stop working. (perhaps related to the "dynamic-service"?)
I'm sure there is a simple and obvious solution that I can't see. Would appreciate it if someone would point the way!
Best,
Roy