You can modify specific PHP configuration settings for a single domain using the MultiPHP INI Editor in WHM. This allows you to customize settings like memory_limit or max_execution_time for a specific website without affecting other accounts on the server.
Before you begin
You will need:
Root access to the WHM interface
The specific domain name or account name you wish to modify
Adjusting a PHP setting for a specific domain
Log in to WHM.
In the left-hand navigation menu, search for and select MultiPHP INI Editor.
Select the Domain tab at the top of the page.
Select the specific domain from the dropdown menu.
Locate the PHP setting you wish to change (e.g.,
memory_limit).Enter the new value in the text field provided.
Click Apply Changes at the bottom of the page.
Confirm the result
The page will refresh and display a success message confirming the changes were applied.
You can verify the change by checking the
phpinfo()page for that specific domain or by checking the configuration file via the File Manager.
Limitations
This tool modifies the configuration specifically for the selected domain. Changes made here will not affect other domains on the server unless they share the exact same configuration file. If you need to change a setting for all domains on the server, use the Domains tab instead.
