cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AppMon and PHP CLI

aurelien_h22
Inactive

Hi All,

Do we have a chance to get AppMon dealing with PHP Cli(PHP Command Line Interface: a scripting tool used in general for admin tasks) and AppMon?

Any feedbacks are welcome.

Thanks in advance four your reply.

Regards,

2 REPLIES 2

karol_z22
Inactive

Hi Aurelien!

Yes, you can do that. Conditions are:

  1. You need a running webserveragent.
  2. The webserver sensor has to be "active and start pure path".
  3. Your "php.ini" (for PHP CLI) has to load the agent as an extension.
  4. After loading the agent, the "php.ini" needs an entry to activate the agent for CLI

Example php.ini:

...
extension=/opt/dynatrace/agent/lib64/libdtagent.so
dtphpagent.useAgentForCmdLine = true
...

Then you should get a PurePath.

Best regards,
Karol Zalewski

aurelien_h22
Inactive

Many thanks and have a nice day.

Regards,

Aurelien