Skip to main content

How to Change a PHP Setting for One Domain With MultiPHP INI Editor

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...

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

  1. Log in to WHM.

  2. In the left-hand navigation menu, search for and select MultiPHP INI Editor.

  3. Select the Domain tab at the top of the page.

  4. Select the specific domain from the dropdown menu.

  5. Locate the PHP setting you wish to change (e.g., memory_limit).

  6. Enter the new value in the text field provided.

  7. 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.

Did this answer your question?