How to increase Max Input Vars in WordPress Development

How to increase max_input_vars

If you trying to increase max_input_vars through cpanel or .htaccess then it’s waste. Here is code to increase max_input_vars

To increase max_input_vars from 1000 to 5000 and more then follow the following process

    Login into your cpanel and go to File Manger
    IN Root Folder create .user.ini file and then edit this file.
    Paste the following code into .user.ini file and save it.

max_input_vars = 5000
suhosin.get.max_vars = 5000
suhosin.post.max_vars = 5000
suhosin.request.max_vars = 5000

How to increase WP_MEMORY_LIMIT

If you trying to increase WP_MEMORY_LIMIT then follow the following process

    Login into your cpanel and go to File Manger
    IN Root Folder Editwp-config.php file.
    Paste the following code into wp-config.php into last line and save it.

define( 'WP_MEMORY_LIMIT', '228M' );

Do you like my posts? Please let me know by dropping your valuable comments, also if you have any questions, please let’s know.

Thanks