This article will tell you how to set php version for your different domain website in WHM, it also tell you how to change php memory size in WHM.
1. Set WebSite PHP Version In WHM.
- Log into WHM use url https://<vps-server-ip>:<whm-port> with root user.
- Search php in the top left search box.
- Click MultiPHP Manager menu item.
- Scroll down in right page, then you can see account list.
- In the account list, each line represent one account, there are account domain, account, php version columns etc.
- You can change PHP version for each domain from the drop down list.
2. Change PHP Memory Size.
- Search php in WHM left navigation panel, then click the MultiPHP INI Editor menu item.
- In right page, click Basic Mode tab, then select the php version which you want to change the settings from the dropdown list.
- 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.
- To increase php memory size, please change memory_limit value to a bigger one.
- Then click Apply button to save the changes.