Instrumenting an Apache Web server is a matter of seconds. You can use the just unzip XAMPP stack on Windows.
Download the applicable 32-bit 7Zip archive, open it and drag the
XAMPP folder to the
You can set the environment variable
%DT_HOME%, so you can reference it in paths. For example, set a default 64-bit AppMon installation with
setx DT_HOME "C:\Program Files\Dynatrace\DynaTrace 7.0". You can also do it interactively in the System control panel.
To perform the configuration:
Open the Application Environment Configuration dialog box.
Select the application type as Web / Java / .NET.
In the Webserver or PHP Engine step, click Add. The Configure Webserver or PHP Engine dialog box appears.
In the Web Server list, select Apache. Keep the default name for it.
Select the machine, where the Apache installed and its architecture.
Server argument values in the
/%DT_HOME%/agent/conf/dtwsagent.ini file with the text from the dialog box, to change the Agent name and Collector to connect to.
Add the lines from the dialog box to the end of the
Restart the Dynatrace Web Server Agent and the web server.
For a Web server with PHP instrumentation you need three components: a running Web Server (master) Agent and the actual Agent LoadModule for the Web server and an Agent extension hooked into PHP.
If the message
Successfully connected 3 Agents displays, instrumentation should work.
If the message
Successfully connected 1 Agent displays, then only the Web Server Agent runs. Something went wrong with the Apache LoadModule and the PHP extension.
If no message displays, then there is a problem with the Web Server Agent and the state of the Apache LoadModule / PHP extension injection is unknown.
Close the summary dialog box.
Browse the site to make sure that components are actually loaded.