By default cPanel accounts are limited to ‘server defaults’. However, for WordPress and other plugins some adjustments need to be made to allow the site to operate efficiently, or at all.

Login to cPanel. Click on Select PHP Version

By default Diskman servers are set to PHP Version 7.4, choose this or 8.x upwards

In the Extensions area you don’t really need to adjust anything, but if there are extensions like ‘sodium’ or ‘memcache’ or whatever that one of your plugins need, tick the box.

In the Options tab, adjust the values as you see them in the screenshot.

 

To adjust max_input_vars

Some themes or plugins require max_input_vars to be increased. This needs to be done manually by editing one of the files as shown below.  

For .htaccess

php_value max_input_vars 5000

For php.ini or .user.ini

max_input_vars = 3000;

 

How to edit the files with the values needed

This can be set via the Multi PHP INI Editor in cPanel, or the WHM.

cPanel >> Home >> Software >> MultiPHP INI Editor

For the .htaccess, or wp-confi.php, use the File manager via cPanel >> Home >> Files >> File Manager to modify the file in question.