LAMPP Apache and PHP sample instrumentation

If you use XAMPP / LAMPP stack and the Apache Web server and PHP contained, then the entire instrumentation process takes seconds.

Download XAMPP/LAMPP and install to /opt, unless you already have them.

To perform the configuration:

Open the Application Environment Configuration dialog box.


JavaScript Agent is injected automatically to HTML code of your website, so you don't have to perform additional configuration for the web application UEM, this is enabled by default. Make sure your license has some UEM volume for this to work.

Select the application type as PHP.

In the PHP Engine on Webserver step, click Add. The Configure PHP Engine on Webserver dialog box appears.

Select PHP Engine on Apache. Keep the default name for it.

Select the machine, where the Apache installed and its architecture.

Replace the Name and 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 httpd.conf and php.ini files in the /opt/lampp/etc directory.

Restart the Web Server Agent and the Web server and navigate to the site served by the latter.


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.