If you use XAMPP / LAMPP stack and the Apache Web server and PHP contained, then the entire instrumentation process takes seconds.
To perform the configuration:
Open the Application Environment Configuration dialog box.
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.
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
php.ini files in the
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.