Listener file PHP max_input_vars do not work with imscp 1.5.3

  • Hi,


    I would like to change the max_input_vars setting to 2000. Im now on a testserver Debian 8, imscp 1.5.3. I use fpm and the listener file: https://raw.githubusercontent.…p_confoptions_override.pl


    Code
    1. my %configOptions = (
    2. # Any PHP configuration option added here will apply globally (to all domains).
    3. '*' => {
    4. 'max_input_vars' => '2000'
    5. }
    6. );
    7. #

    When I start: perl imscp-autoinstall -dasr php -l /etc/imscp/listeners.d/10_php_confoptions_override.pl I get no error message but nothing changes. I use Php7.0 as standard. Is there something else I must do? Please help. Thanks

  • When I start: perl imscp-autoinstall -dasr php -l /etc/imscp/listeners.d/10_php_confoptions_override.pl I get no error message but nothing changes. I use Php7.0 as standard. Is there something else I must do? Please help. Thanks

    Please, put your listener file into the /etc/imscp/listeners.d directory instead of passing it through the command line option. I'll check the behavior later for the command line option.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • I found the Problem. All works now. I just checked the phpinfo file from phpswitcher. In the phpinfo file from the domain it shows 2000. Sorry for that!

  • I found the Problem. All works now. I just checked the phpinfo file from phpswitcher. In the phpinfo file from the domain it shows 2000. Sorry for that!

    Yes, in the PhpSwitcher documentation, it is clearly stated that if you change the configuration, you need rebuild the static phpinfo files. Please have a look at the documentation: https://wiki.i-mscp.net/doku.p…phpswitcher#phpinfo_files

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Nuxwin

    Added the Label not a bug
  • FloRet88

    Closed the thread.