Disabling PHP Handlers

Use the disable operation to disable 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 disable operation node:

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

 

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

php-handler_disable

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 Sample
<packet>
  <php-handler>
    <disable>
        <filter>
          <id>module</id>
        </filter>
    </disable>
  </php-handler>
</packet>
  
 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.