Use the get operation to retrieve information about the specified PHP handler. Use filters to specify the handler by its ID.

Request Packet Structure

A request XML packet that retrieves a PHP handler includes the get operation node:

<packet>
  <get>
      ...
  </get>
</packet>

The get node is presented by the PhpHandlerInputType type (php_handler.xsd), and its graphical representation is as follows:

image 75327

Note: The interactive schema navigator for all request packets is available here: http://plesk.github.io/api-schemas/1.6.8.0/agent_input.svg.

  • The filter node is required. It specifies the filtering rule. Data type: PhpHandlerFilter (php_handler.xsd) .

Request Samples

<packet>
  <php-handler>
    <get>
        <filter/>
    </get>
 </php-handler>
</packet>


<packet>
  <php-handler>
    <get>
        <filter>
          <id>cgi</id>
        </filter>
    </get>
  </php-handler>
</packet>