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:
-
Connect to the server via SSH
-
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
-
Change
php_handler_typetoanyas shown:CONFIG_TEXT: [hosting]
;php = any
php_handler_type = any -
Save the changes
Comments
Please sign in to leave a comment.