• 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.

When you create/edit a Service Plan, disabled PHP-handlers show up on the PHP-settings page

Maarten

Golden Pleskian
Plesk Guru
Username:

TITLE


When you create/edit a Service Plan, disabled PHP-handlers show up on the PHP-settings page

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

AlmaLinux 8.7
Plesk Obsidian 18.0.50 Update #2

PROBLEM DESCRIPTION

When you edit or create a Service Plan and go to the PHP Settings page, the "Run PHP as" dropdown shows PHP handlers that are disabled on the "Tools & Settings -> PHP Settings" page.

STEPS TO REPRODUCE

  1. Go to "Tools & Settings -> PHP Settings"
  2. Disable every PHP handler except the FPM application handlers
Next:
  1. Go to the Service Plans
  2. Edit or create a Service Plan
  3. Go to the PHP settings tab
  4. Click on the "Run PHP as" dropdown

ACTUAL RESULT

The "Run PHP as" dropdown lists enabled and disabled PHP-handlers:
Screenshot 2023-03-21 at 11.48.50.png

Screenshot 2023-03-21 at 11.56.41.png
EXPECTED RESULT

The "Run PHP as" dropdown should only show PHP handlers that are enabled on the "Tools & Settings -> PHP Settings" page.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
I'm afraid that this cannot be considered a bug. It is thinkable that users have deactivated handlers and prepare a service plan for later use so that once they activate the handlers they can be selected from the plan again. A similar behavior can be observed when a user uses a PHP version that is deactivated. As long as the account does not change that version, it can continue to use it. Only once the user changes the version, the entry disappears from the user's drop down. But in general, as long as the handler exists on the server, it is not really totally gone.
 
Back
Top