Articles in this section

Warning when updating Service Plan: There are settings that conflict with the server-wide security policy: PHP Handler Type

kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • A warning shows up when selecting to Update & Sync changes to a Service plan:

PLESK_WARN: There are settings that conflict with the server-wide security policy. Are you sure you want to continue?
If you really want to override the security policy and apply the conflicting settings, click Yes. Otherwise, click No, and then click the link 'apply secure setting preset' to bring the settings in accordance with the server-wide security policy. The following settings conflict with the policy:
• PHP handler type

Cause

The server is configured to use a specific PHP handler type, and warns the user when a service plan is set to use any other. By default, no server-wide site isolation settings are applied

Resolution

In order to resolve it, set the PHP handler type to any in the system configuration file as shown by the steps below:

  1. Connect to the server via SSH

  2. Edit the system file, whose location depends on the Linux distribution:

      • CentOS/RHEL-based distros

    CONFIG_TEXT: /usr/local/psa/admin/conf/site_isolation_settings.ini

      • Ubuntu/Debian-based distros

    CONFIG_TEXT: /opt/psa/admin/conf/site_isolation_settings.ini

  3. Change php_handler_type to any as shown:

    CONFIG_TEXT: [hosting]
    ;php = any
    php_handler_type = any

  4. Save the changes

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.