<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 30/08/18 05:02, Fred Hamilton wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJUE6TCcb0ukqDHibtoLfufGk1GMbpNQSBOBmm_xf++geKYE3A@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <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"
                    moz-do-not-send="true">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="mimeAttachmentHeader"></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>
  </body>
</html>