Enabling PHP Handlers

Use the enable operation to enable the specified PHP handler. Use a filter to specify the handler by its ID.

Request Packet Structure

A request XML packet that enables a PHP handler includes the enable operation node:

<packet>
  <enable>
      ...
  </enable>
</packet>

 

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

php-handler_enable

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

  

Request Sample
<packet>
  <php-handler>
    <enable>
        <filter>
          <id>cgi</id>
        </filter>
    </enable>
  </php-handler>
</packet>
  
 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.