Skip to main content

How to increase max input vars for MaxiBlocks builder

Quick fix: Contact your hosting provider

Start here if you're unsure about technical changes:

  • Contact your hosting provider's support team
  • Ask them to increase max_input_vars to 8000 (or higher)
  • Many hosting providers can do this instantly through their control panel

This is the safest and easiest method for most users.

DIY methods (for advanced users)

⚠️ Things to watch out for

  • Backup first - Always backup files before making changes
  • File permissions - Some hosts restrict php.ini modifications
  • Server overrides - Your hosting provider might override custom settings
  • Method compatibility - Not all methods work on all hosting types
  • Security - Don't leave phpinfo() files on your server

### Method 1: Hosting control panel PHP settings

Check your hosting control panel first (cPanel, Plesk, etc.):

  • Look for "PHP Settings," "PHP Configuration," or "Select PHP Version"
  • Find the max_input_vars setting
  • Change it to 8000 or higher
  • Save changes

If your control panel doesn't have this option, try these alternatives:

Option A: Edit php.ini file

Find max_input_vars in your php.ini file and change it to:

max_input_vars = 8000 Then restart your web server.

Option B: Create custom php.ini

Create a new php.ini file in your WordPress root directory with:

max_input_vars = 8000 Option C: Update wp-config.php

Add this line to your wp-config.php file:

@ini_set('max_input_vars', 8000);

Why this matters

MaxiBlocks builder needs higher limits to save complex page layouts properly. The default setting (usually 1000) is too low and causes:

  • Pages failing to save
  • Block configurations being lost
  • System status warnings

Check if it worked

Go to MaxiBlocks Builder → System Status and look for "Max Input Vars" - it should show "OK" with a green tick.

Still having issues?

  • Try increasing the value to 10000 or 15000
  • Some hosting providers override custom settings
  • Contact your hosting provider if DIY methods don't work

Always backup your files before making changes.