• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

The following settings conflict with the policy: PHP version

burnley

Regular Pleskian
We have a Plesk 12.5 server with several custom php handlers loaded and registered in Plesk but when customer or admin go to select anything other than the one "Shipped by OS vendor" they get an error about PHP Version. Can anyone point me in the right direction as i can't seem to find a solution.


This is the message;
"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 version"


There are no errors in panel.ini and the subscription has the permission enabled for "PHP version and handler management"

site isolation settings are below, I can't find anything on a variable for PHP Version in site isolation;

[hosting]
php = any
; php_handler_type = fastcgi
python = off
perl = off
fastcgi = any
miva = off
ssi = any
ssl = any
; shell = off
shell = /usr/local/psa/bin/chrootsh
asp = any
php_safe_mode = any
coldfusion = off
ssh = off


What am i missing?
 
I've the same behaviour. It's due to the plan option "Setup of potentially insecure web scripting options that override provider's policy". If you do not enable it you cannot select another PHP version or handler. I do believe that's wrong but that's the Plesk setup at the moment.
 
Thanks Oto, I should have guessed, its a very poorly written option in my view. I mean I don't want to allow customers to override the server policy but Plesk gives no option to set the server policy for PHP Version. Logically you'd expect there to be some option to set this in site isolation settings, right? Now is this a BUG or feature request?
 
Back
Top