[mythtv-users] channels.conf

Klaus Becker colonius at free.fr
Mon Apr 2 15:50:51 UTC 2018


Le lundi 2 avril 2018, 17:42:58 CEST Michael T. Dean a écrit :
> On 04/02/2018 11:24 AM, Michael T. Dean wrote:
> > On 04/02/2018 11:05 AM, Dan Wilga wrote:
> >> On 4/2/18 10:15 AM, Klaus Becker wrote:
> >>> Le lundi 2 avril 2018, 16:10:05 CEST Peter Bennett a écrit :
> >>>> On 04/02/2018 10:03 AM, Klaus Becker wrote:
> >>>>> When I want to delete channels in the list at
> >>>>> http://localhost/mythweb/settings/tv/channels, I get the message
> >>>>> 
> >>>>> "Warning: Unknown: Input variables exceeded 1000. To increase the
> >>>>> limit
> >>>>> change max_input_vars in php.ini. in Unknown on line 0." I edited
> >>>>> /etc/php/7.2/ apache2/php.ini and changed 1000 to 5000,
> >>>>> 
> >>>>> I restarted php2 with "systemctl restart apache2", but I still get
> >>>>> the
> >>>>> same
> >>>>> message.
> >>>>> 
> >>>>> And what means "in Unknown on line 0" ?
> >>>>> 
> >>>>> There is also /etc/php/7.2/cli/php.ini, but I suppose I need
> >>>>> (should) not
> >>>>> modify it.
> >>>> 
> >>>> I set mine to 16000. It works that way.
> >>> 
> >>> I did so, I restarted apache2, but I still get the same error message.
> >> 
> >> It still sounds as though you may not be editing the correct .ini
> >> file. The best way to tell which one to edit is to create a file
> >> ending in .php within the web root, with just these contents:
> >> 
> >> <?php phpinfo(); >
> >> 
> >> Load that in your web browser and look for "Configuration File
> >> (php.ini) Path", a few lines down.
> > 
> > Though, depending on the number of channels you have, you may need far
> > more than 16000.
> 
> Thought maybe I should be a bit more specific...
> 
> After verifying which PHP config file to use, it's worth trying
> something very big--like 128000 or even 256000--and seeing if it works.
> If so, then you can try lower numbers to see how low you can bring it
> (64000, 32000, ...) and still make use of the page.  Or, just edit the
> channels, then change it back to 1000 when you're done.  It it doesn't
> work, you can try even larger values (though I can't imagine having that
> many channels in the DB--and, really, if you do, you should think of
> editing your listings provider configuration so you're not constantly
> pulling down that much listings data that you won't even need and that
> will just make your database bigger and slow things down in MythTV).
> 
> FWIW, I think the page uses on the order of 16 x <# of channels> + <a
> few> input fields.  So, 16000 supports about 1000 channels, 128000
> supports 8000, 256000 supports 16000, and so on.
> 
> Mike


Hello Mike,

I put 256000 in /etc/php/7.2/apache2/php.ini, I restarted apache2: still the 
same error message.

Klaus




More information about the mythtv-users mailing list