WHM access is not available for our shared and/or business shared clients as this requires root access and the license. For more information on how to log into your WHM interface, please review How to Get Started with your New cPanel Server
Best WHM PHP Configuration Tweaks w/ EasyApache 3
Ideal PHP settings are dependent on the software you’re using and whether or not you’re experiencing any issues with the current settings. WHM allows you to adjust settings and make different tweaks to the PHP. You can access these PHP settings by going Home > Service Configuration > PHP Configuration Editor if EasyApache 3 is utilized.
EasyApache 3 and/or EasyApache 4 can be reviewed in WHM >> Software.
Best WHM PHP Configuration Tweaks w/ EasyApache 4
Ideal PHP settings are dependent on the software you’re using and whether or not you’re experiencing any issues with the current settings. WHM allows you to adjust settings and make different tweaks to the PHP. You can access these settings by going Home and search for “php” (1) > MultiPHP INI Editor (2, under the Software column) > and choosing what PHP version you wish to configure (3) if using EasyApache 4.
Once you have selected a PHP Version, you will be presented options to edit available php scripts
When done making edits, click on the Apply button at the bottom of the page
Common PHP Edits
We’ve identified the ones for you that have the most impact below:
If your site is poorly optimized to the point that your PHP script requires longer than 90 seconds to complete, PHP will prevent the process from completing. Ideally, you should optimize the script to take less time, but if it is not possible to do this, raising the execution time would solve your issue.
The default is 150 megabytes or MB, but this can be reduced to prevent large files from overloading the server during upload.
PHP memory limit
The default is 64M. Some applications such as WordPress may require more than the default value. Please be aware that setting this value via this interface will enforce this setting across the entire server. Setting this value too high could allow all PHP related applications to overuse the available system memory.
Once you’re satisfied with the values that you have entered click the Save button.