PHP Configuration
When you use WebCP – Web Hosting Control Panel you may need to update your PHP configuration settings. As a root user on the server, you could log in and manage the php.ini or PHP pool files by SSHing in, but those files are generated automatically, so your changes will not likely survive.
In WebCP you can now update some of the settings of your PHP config files. As an administrator in WebCP you can edit the global settings (php.ini), or you can edit the per-domain settings.
The regular users (domain owners) can also edit the per-domain settings themselves, however they will not be able to edit the Processor Management settings, which and administrator can do.
Global PHP Config Settings
As an administrator, to edit the global PHP config settings, use the main navigation on the side and navigate to “Server->PHP Config“.

In the next screen, you need to select the PHP version whose config you want to manage:

Click on the button to get to the settings page for the PHP version you’re editing.

Per-Domain Config Settings
To edit the PHP config settings for a specific domain, click on the “Settings” button in the domain listing screen.

In the settings screen, you can click on the “Edit Config” button next to the PHP version drop down. This will allow you to edit the configuration for that domain and that version of PHP.

This “Edit Config” button is available to both administrators and users.
As an administrator, you also have access to the Process Management settings for that domain. For instance, if you have a busy site and you want to increase the number of PHP FPM servers, this is where you do it.

Comments