• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question PHP version based on the Service Plan

Thomas Oryon

Regular Pleskian
Hello Support,

I wish to update the plan to each customer like if I update the plan 1 the customer can use PHP 8.1 only. If I assign the plan 2, they can use both 8.1 and 8.2 like this can we achieve?

Awaiting your reply.
 
I wish to update the plan to each customer like if I update the plan 1 the customer can use PHP 8.1 only. If I assign the plan 2, they can use both 8.1 and 8.2 like this can we achieve?
Unfortunately this isn't completely possible.

You can limit a Service Plan to one particular PHP version (for example 8.1), but if you want to allow customers to pick between multiple PHP versions they can choose all of the installed and active PHP versions. So you'll have to de-active any other installed PHP version on the server if you want to restrict usage. Which of course has the down side that you're limited in the number of PHP versions can use on a server overall.
  • To limit a Service Plan to just one PHP version you'll have to disable the "PHP version and handler management" permission on the service plan.
  • To limit which PHP version customs can choose you'll need to de-active the PHP handlers via Tools & Settings > PHP Settings.
 
Back
Top