<div dir="ltr">Thanks, this worked like a charm for me.<div><br></div><div>Doug</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 30, 2018 at 12:20 AM Mike Bibbings <<a href="mailto:mike.bibbings@gmail.com">mike.bibbings@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div class="m_-4502417668233050484moz-cite-prefix">On 30/08/18 05:02, Fred Hamilton wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div class="gmail_extra">I just upgraded from Ubuntu
                  16.04 to 18.04, and impressively MythTV is working
                  fine.</div>
                <div class="gmail_extra"><br>
                </div>
                <div class="gmail_extra">Hit a snag with MythWeb,
                  though.  When I try to start Apache, I get an 'Apache
                  won't start: "Invalid command 'php_value'" ' error.</div>
                <div class="gmail_extra"><br>
                </div>
                <div class="gmail_extra">Fortunately that *exact*
                  problem is covered in the MythWeb documentation <a href="https://www.mythtv.org/wiki/MythWeb#Apache_won.27t_start:_.22Invalid_command_.27php_value.27.22" target="_blank">here</a>.</div>
                <div class="gmail_extra"><br>
                </div>
                <div class="gmail_extra">Unfortunately the recommended
                  fix (a small edit to /etc/conf.d/apache2) isn't
                  working because 18.04 doesn't seem to have an
                  /etc/conf.d directory!</div>
                <div class="gmail_extra"><br>
                </div>
                <div class="gmail_extra">I grepped around for a file
                  containing "APACHE2_OPTS", but that didn't turn up
                  anything either.</div>
                <div class="gmail_extra"><br>
                </div>
                <div class="gmail_extra">Now I'm out of ideas.</div>
                <div class="gmail_extra"><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_-4502417668233050484mimeAttachmentHeader"></fieldset>
    </blockquote>
    When I did an in-place upgrade of 16.04 to 18.04 mythweb failed to
    work due to php 7.2<br>
    <br>
    The solution I used was:<br>
    sudo mv /etc/php/7.0/apache2/conf.d/20-mythweb.ini 
    /etc/php/7.2/apache2/conf.d/20-mythweb.ini<br>
    sudo a2enmod php7.2 #to sort out apache2<br>
    sudo systemctl restart apache2<br>
    <br>
    <br>
    The "sudo mv /etc/php/7.0/apache2/conf.d/20-mythweb.ini 
    /etc/php/7.2/apache2/conf.d/20-mythweb.ini" was necessary to fix the
    "Warning: Unknown: Input variables exceeded 1000. To increase the
    limit change max_input_vars in php.ini. in Unknown on line 0" when
    saving channels. The value in 20-mythweb.ini of 10000 caters for 620
    channels, 1000 only handles 62 channels.<br>
    <br>
    Mike<br>
    <br>
  </div>

_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>