<div dir="auto"><div>You should just need to change the config to actually match the version of PHP installed which is no longer the old one your old config had in it.<div dir="auto"><br></div><div dir="auto">Go looking through /use/lib/apache2/modules/ directory on your system, look and see if there's a PHP library in there. There should be, and likely be a newer version than 7.4. </div><div dir="auto"><br></div><div dir="auto">You just need to edit the config to match what exists now and every time you upgrade.</div><div dir="auto"><br></div><div dir="auto">Mike</div><div dir="auto"><br></div><div dir="auto"><br></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 10, 2023, 15:29 Douglas Peale <<a href="mailto:Douglas_Peale@comcast.net">Douglas_Peale@comcast.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <div>On 4/10/23 14:16, James Abernathy
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr"><br>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Mon, Apr 10, 2023 at
            5:08 PM Douglas Peale <<a href="mailto:Douglas_Peale@comcast.net" target="_blank" rel="noreferrer">Douglas_Peale@comcast.net</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 4/10/23 13:42, Jay
            Harbeston wrote:<br>
            ><br>
            >> On Apr 10, 2023, at 3:28 PM, Douglas Peale
            <a href="mailto:Douglas_Peale@Comcast.net" target="_blank" rel="noreferrer"><Douglas_Peale@Comcast.net></a> wrote:<br>
            >><br>
            >> I have upgraded my computer to Mint 21<br>
            >><br>
            >> MythTV front end and back end are working<br>
            >><br>
            >> Browser says "Unable to connect" when trying to
            access <a href="https://localhost/mythweb/" rel="noreferrer noreferrer" target="_blank">https://localhost/mythweb/</a><br>
            > Sounds like apache service is not running. That would
            be the first step.<br>
            > _______________________________________________<br>
            > mythtv-users mailing list<br>
            > <a href="mailto:mythtv-users@mythtv.org" target="_blank" rel="noreferrer">mythtv-users@mythtv.org</a><br>
            > <a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
            > <a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
            > MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer noreferrer" target="_blank">https://forum.mythtv.org</a><br>
            <br>
            You appear to be correct.<br>
            <br>
            systemctl status apache2.service<br>
            <br>
            × apache2.service - The Apache HTTP Server<br>
                  Loaded: loaded (/lib/systemd/system/apache2.service;
            enabled; vendor preset: enabled)<br>
                  Active: failed (Result: exit-code) since Mon
            2023-04-10 14:01:41 PDT; 22s ago<br>
                    Docs: <a href="https://httpd.apache.org/docs/2.4/" rel="noreferrer noreferrer" target="_blank">https://httpd.apache.org/docs/2.4/</a><br>
                 Process: 29420 ExecStart=/usr/sbin/apachectl start
            (code=exited, status=1/FAILURE)<br>
                     CPU: 11ms<br>
            <br>
            Apr 10 14:01:41 BlackBox systemd[1]: Starting The Apache
            HTTP Server...<br>
            Apr 10 14:01:41 BlackBox apachectl[29424]: apache2: Syntax
            error on line 146 of /etc/apache2/apache2.conf: Syntax error
            on line <br>
            3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load
            /usr/lib/apache2/modules/<a href="http://libphp7.4.so" rel="noreferrer noreferrer" target="_blank">libphp7.4.so</a>
            into server: <br>
            /usr/lib/apache2/modules/<a href="http://libphp7.4.so" rel="noreferrer noreferrer" target="_blank">libphp7.4.so</a>:
            cannot open shared object file: No such file or directory<br>
            Apr 10 14:01:41 BlackBox apachectl[29420]: Action 'start'
            failed.<br>
            Apr 10 14:01:41 BlackBox apachectl[29420]: The Apache error
            log may have more information.<br>
            Apr 10 14:01:41 BlackBox systemd[1]: apache2.service:
            Control process exited, code=exited, status=1/FAILURE<br>
            Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Failed
            with result 'exit-code'.<br>
            Apr 10 14:01:41 BlackBox systemd[1]: Failed to start The
            Apache HTTP Server.<br>
            <br>
            <br>
            Seems I am missing a file. What would be the best approach
            to fixing this? Should I try uninstalling, then
            re-installing <br>
            Apache2? or would that make my problems worse.<br>
            <br>
          </blockquote>
          <div>I think LM21 is up to php8.1?</div>
          <div><br>
          </div>
          <div>Jim A</div>
          <div> </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
mythtv-users mailing list
<a href="mailto:mythtv-users@mythtv.org" target="_blank" rel="noreferrer">mythtv-users@mythtv.org</a>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank" rel="noreferrer">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank" rel="noreferrer">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank" rel="noreferrer">https://forum.mythtv.org</a>
</pre>
    </blockquote>
    <p>I attempted to uninstall Apache2 and re-install which also forced
      an uninstall of MythWeb. This did not change anything.</p>
    <p>Is this a case of Mythweb requiring an older version of PHP that
      is not supported by Apache2?</p>
    <p>Is there no way forward here?<br>
    </p>
  </div>

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