• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Madhav C. · Jul 01, 2014 at 11:17 PM ·

Dynatrace to profile standalone PHP code

Hi,

I had one query regarding Dynatrace usage for profiling of Standalone PHP code.

 

We have Dynatrace license for Java agent, .Net agent , web server agent and browser agent. I want to profile a standalone PHP code (not running on Apache) using Web Server agent. Can it be done?

As per the support document, for PHP profiling, it loads an extension added in PHP.INI file. I suppose, Web server  loads this extension to start profiling. If we can load this agent manually/externally will it profile PHP code?

Please let me know if above argument is a possible. 

Thanks,

Madhav

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Harald Z. · Jul 02, 2014 at 10:14 PM

Hi Madhav,

yes, you can do that. You have to load the extension in the php.ini file, similar to what has to be done when using PHP with Apache. For PHP CLI you have to add

dtphpagent.useAgentForCmdLine = true

to your php.ini

Harald

Comment

People who like this

0 Show 2 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Arati B. · Jul 09, 2014 at 09:18 PM 0
Share

Hi Harald,

I have created a system profile for PHP standalone application. When I am trying to add New Agent group to it, the PHP option is not available under Application tag. Please see attached screenshot. How should I move further to add PHP agent in system profile? 

Regards,

Arati Bhadale

 

avatar image Andreas G. ♦ Arati B. · Jul 09, 2014 at 09:27 PM 0
Share

You need to have a PHP Agent License first. This Dialog will only show you the technologies that you are licensed for. In the initial post you mentioned that you have licenses for Java, .NET, Web Server and Browser Agent. For PHP you need a PHP License. Once you have that license you will be able to define that Tier with that technology type

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A