• Article for your preferred language does not exist. Below is international version of the article.

Article ID: 123862, created on Dec 10, 2014, last review on Dec 15, 2014

  • Applies to:
  • Plesk Automation 11.5

Symptoms

Unused PHP Handler installed on the Apache service node cannot be removed. The command executed on management node fails with the error:

#/usr/local/psa/bin/php_handler --remove -id "<handler_id>" -service-node 203.0.113.2
Error occured while sending feedback. HTTP code returned: 502
Unable to remove the PHP handler: The PHP handler is used in sites configurations.

Cause

There are PHP handler with the same title (id) installed on another service node. PPA searches the handler ID in database and finds it in use. Then the operation is being interrupted.

This behavior is known as software issue #PPA-2243. The fix is planned to be included in one of the future product updates.

Workaround

The handler may be removed from the service node it was installed on.

  1. Log in service node by SSH.

  2. Remove PHP handler with the command below:

    # /usr/local/psa/admin/bin/php_handlers_control --remove --id "<handler_id>"
    
  3. Re-read the handlers list, having executed the following command from the Management node:

    /usr/local/psa/bin/php_handler --reread -service-node 203.0.113.2
    

Search Words

unable to remove PHP handler

Unable to remove the PHP handler

cannot remove php handler

The PHP handler is used in sites configurations

remove handler

Error occured while sending feedback. HTTP code returned: 502

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF