How To Increase PHP Memory In WHM

This article will tell you how to set PHP versions for your different domain websites in WHM, it also tells you how to change PHP memory size in WHM.

1. Set WebSite PHP Version In WHM.

  1. Log into WHM use url https://<vps-server-ip>:<whm-port> with root user.
  2. Search the keyword php in the top left search box.
  3. Click the MultiPHP Manager menu item under the Software category.
  4. Scroll down on the right page, then you can see the account list.
  5. In the account list, each line represents one account, the table headers are account Domain, Account, Account Owner, PHP Version.
  6. You can change the PHP Version for each domain from the drop-down list below the PHP Version column header.

2. Change PHP Memory Size.

  1. Search the keyword php in WHM left navigation panel, then click the MultiPHP INI Editor menu item under the Software category.
  2. On the right pane, click the Basic Mode tab, then select the PHP version which you want to change the settings from the dropdown list.
  3. Then you can change most php configuration settings below the drop down list. The php setting contains such as memory_limit, max_upload_size, max_execution_time, max_input_vars, post_max_size.
  4. To increase PHP memory size, please change the memory_limit value to a bigger one.
  5. Then click Apply button to save the changes.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.