• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question PHP version based on the Service Plan

Thomas Oryon

Basic 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