Tried to add:

ini_set('max_input_vars', '2000');

to an existing "local.settings.php" file that has:

$conf['admin_menu_cache_client'] = FALSE;
ini_set('memory_limit', '256M');

New file looks like:

$conf['admin_menu_cache_client'] = FALSE;
ini_set('memory_limit', '256M');
ini_set('max_input_vars', '2000');

After verifying the site the "/admin/reports/status/php" did not reflect the new values.

If necessary can upload log files.

Thank you,
Hg

Comments

omega8cc’s picture

Status: Active » Closed (works as designed)

This is how PHP works. You can override memory_limit because it is in the PHP_INI_ALL group.
You can't override max_input_vars because it is in the PHP_INI_PERDIR group (and works only with 5.3)

See for reference:

http://php.net/manual/en/configuration.changes.modes.php
http://php.net/manual/en/info.configuration.php
http://php.net/manual/en/ini.list.php

hyperglide’s picture

Thank you!
hg

omega8cc’s picture

Component: Documentation » Code
Category: support » feature
Status: Closed (works as designed) » Fixed

However, the default max_input_vars value is really too low, so we are changing it globally: http://drupalcode.org/project/barracuda.git/commit/1ff5d1e

omega8cc’s picture

Note also that we have that other variable set already in the global.inc file: http://drupalcode.org/project/barracuda.git/blob/HEAD:/aegir/conf/global...

hyperglide’s picture

Grand.

Ty Again.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Dhara Shah’s picture

Version: » 6.x-2.x-dev
Issue summary: View changes

Thanks omega8cc.