PHP Server sensor

The PHP Server Sensor captures PHP session variable values.

Sensor configuration

Perform the following steps to place and configure the PHP Server sensor:

  1. Start the AppMon Client.
  2. Open the System Profile Preferences dialog box for your application.
  3. Enable monitoring of PHP scripts. To do this, navigate to General settings for your application, and the select the PHP check box in the Technology section.
  4. Place the PHP Server sensor.
    1. Go to the Sensor Placement section for your web server.
    2. In the Sensor Placement table, find the PHP Server sensor and select the check box in the Place column to enable it.
  5. Enable capturing of a specific PHP session variable.
    1. Go to the Sensor Configuration section for your web server.
    2. Find the PHP Server sensor in the list and access the properties screen using the provided Properties link.
    3. Enter the name of the session variable you would like to capture. The following graphic shows a sample setting for capturing the value of the user session variable.
      Example setting for capturing the value of the user session variable
  6. Click OK to save the settings.

Sensor results

The details of the PHP Execution node contain the captured session variable, as shown in the following graphic:

Details window of the PHP execution node shows the captured session variable
Details window of the PHP execution node shows the captured session variable