How to setup custom php configuration for new domains in Plesk

Created:

2017-01-18 08:26:31 UTC

Modified:

2017-08-08 13:41:44 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to setup custom php configuration for new domains in Plesk

Applicable to:

  • Plesk

Question

How to setup custom php configuration for new domains?

Answer

There are three ways do to it in based on Plesk view:

1. Switch Service Provider view by clicking Change view in the left bottom corner (or # /usr/local/psa/bin/poweruser --off ) and setup required plan in Service Plans menu changing PHP Settings. Then use Plesk in Service Provider view as default one.

2. Second option, all the domains in Power User view are getting created with Unlimited plan, there is no option to manage it in this view.

2.1 Switch to Service Provider view by clicking Change view in the left bottom corner or using CLI:

# /usr/local/psa/bin/poweruser --off

2.2 Setup PHP Settigns for Unlimited plan in Service Plans as it is required.
2.3 Switch back to Power User view by:

# /usr/local/psa/bin/poweruser --on

All the new domains will be created with custom settings.

3. Custom view settings menu is designed to hide required options and setup new domains only if a simple mode is enabled with Power User view.

In this mode, all the domains will be created with Admin Simple service plan that can be customized in Tools & Settings > Custom View Settings .

Also, all the buttons and options in Plesk will be managed by the same menu.

This mode can be enabled from CLI:

# /usr/local/psa/bin/poweruser --on -simple

There it is possible to specify all the required custom PHP settings.

Additional information can be found in Plesk documentation

Have more questions? Submit a request
Please sign in to leave a comment.