Quantcast
Channel: All AppDynamics Discussions posts
Viewing all articles
Browse latest Browse all 1667

PHP agent - proxy ctl dir - catch 22

$
0
0

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

 

 


Viewing all articles
Browse latest Browse all 1667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>