Articles in this section

PHP version can not be selected for a domain in Plesk despite other PHP settings are manageable

Plesk for Windows Plesk for Linux kb: technical

Applicable to:

  • Plesk Obsidian for Linux

Symptoms

  • Restricted Mode is enabled under Tools & Settings>Restricted Mode Settings
  • It is not possible to change PHP version of the domain. The PHP version drop-down menu is not present but other PHP Settings are manageable

Cause

The feature of managing PHP versions was disabled in Restricted Mode settings

# plesk db "SELECT permission, value FROM Permissions WHERE id = (SELECT perm_id FROM clients WHERE login = 'admin')" | grep -i php
| manage_phosting_php | true |
| manage_php_settings | true |
| manage_php_version | false |
| manage_server_php | true |

 

Resolution

  1. Log into Plesk.
  2. Go to Tools & Settings > Restricted Mode Settings.
  3. Disable Restricted mode by unchecking the Enable Restricted Mode option and applying changes.
  4. Then enable Restricted Mode with the option of managing PHP versions
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.