• apache2 does not start when php5.6

    From Jivanmukta@21:1/5 to All on Tue Apr 18 10:40:47 2023
    I have a problem with apache2 - it does not start when php5.6 is
    selected (when php8.1 - is OK)

    ● apache2.service - The Apache HTTP Server
    Loaded: loaded (/lib/systemd/system/apache2.service; enabled;
    vendor preset: enabled)
    Active: failed (Result: exit-code) since Sun 2023-04-16 20:38:32
    CEST; 5min ago
    Docs: https://httpd.apache.org/docs/2.4/
    Process: 102809 ExecStart=/usr/sbin/apachectl start (code=exited, status=139)

    Reinstalling apache2 does not help. I use Ubuntu 20.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Tue Apr 18 11:29:58 2023
    Am 18.04.2023 um 10:40:47 Uhr schrieb Jivanmukta:

    I have a problem with apache2 - it does not start when php5.6 is
    selected (when php8.1 - is OK)

    The support of PHP 5.6 ended years ago, so use a current version.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Doctor@21:1/5 to jivanmukta@poczta.onet.pl on Tue Apr 18 14:24:10 2023
    In article <u1ll2f$1cc63$1@portraits.wsisiz.edu.pl>,
    Jivanmukta <jivanmukta@poczta.onet.pl> wrote:
    I have a problem with apache2 - it does not start when php5.6 is
    selected (when php8.1 - is OK)

    ● apache2.service - The Apache HTTP Server
    Loaded: loaded (/lib/systemd/system/apache2.service; enabled;
    vendor preset: enabled)
    Active: failed (Result: exit-code) since Sun 2023-04-16 20:38:32
    CEST; 5min ago
    Docs: https://httpd.apache.org/docs/2.4/
    Process: 102809 ExecStart=/usr/sbin/apachectl start (code=exited,
    status=139)

    Reinstalling apache2 does not help. I use Ubuntu 20.

    php 5.6 is more the most part dead!
    --
    Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
    Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b Evil masters pleasant words. -unknown Beware https://mindspring.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jivanmukta@21:1/5 to All on Wed Apr 19 11:49:37 2023
    W dniu 18.04.2023 o 10:40, Jivanmukta pisze:
    I have a problem with apache2 - it does not start when php5.6 is
    selected (when php8.1 - is OK)

    ● apache2.service - The Apache HTTP Server
         Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
         Active: failed (Result: exit-code) since Sun 2023-04-16 20:38:32 CEST; 5min ago
           Docs: https://httpd.apache.org/docs/2.4/
        Process: 102809 ExecStart=/usr/sbin/apachectl start (code=exited, status=139)

    Reinstalling apache2 does not help. I use Ubuntu 20.
    Problem does not occur if I have only php5.6 installed (i.e. when I
    delete other versions of php). But I need php5 and php8.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Wed Apr 19 14:36:17 2023
    Am 19.04.2023 um 11:49:37 Uhr schrieb Jivanmukta:

    Problem does not occur if I have only php5.6 installed (i.e. when I
    delete other versions of php). But I need php5 and php8.

    PHP5 is old-ass an insecure. Change your software so it works with
    current PHP versions.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to jivanmukta@poczta.onet.pl on Wed Apr 19 19:41:01 2023
    In comp.infosystems.www.servers.unix,
    Jivanmukta <jivanmukta@poczta.onet.pl> wrote:
    Problem does not occur if I have only php5.6 installed (i.e. when I
    delete other versions of php). But I need php5 and php8.

    I don't believe Apache *ever* worked with two versions of php installed
    as modules. The only way will work (in my understanding) is to have one
    or both php versions installed in CGI mode instead of module.

    The module works as a shared library, and probably has conflicting
    symbols. CGI mode will make them separate processes, so names won't
    conflict.

    Elijah
    ------
    or use multiple Apache daemons on separate ports plus a reverse proxy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to *@eli.users.panix.com on Thu Apr 20 15:26:12 2023
    In article <eli$2304191535@qaz.wtf>,
    Eli the Bearded <*@eli.users.panix.com> wrote:
    or use multiple Apache daemons on separate ports plus a reverse proxy

    Or use separate containers.

    John
    groenveld@acm.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jivanmukta@21:1/5 to Jivanmukta on Mon Apr 24 11:30:02 2023
    On 19.04.2023 11:49, Jivanmukta wrote:
    W dniu 18.04.2023 o 10:40, Jivanmukta pisze:
    I have a problem with apache2 - it does not start when php5.6 is
    selected (when php8.1 - is OK)

    ● apache2.service - The Apache HTTP Server
          Loaded: loaded (/lib/systemd/system/apache2.service; enabled;
    vendor preset: enabled)
          Active: failed (Result: exit-code) since Sun 2023-04-16 20:38:32 >> CEST; 5min ago
            Docs: https://httpd.apache.org/docs/2.4/
         Process: 102809 ExecStart=/usr/sbin/apachectl start (code=exited, >> status=139)

    Reinstalling apache2 does not help. I use Ubuntu 20.
    Problem does not occur if I have only php5.6 installed (i.e. when I
    delete other versions of php). But I need php5 and php8.
    I installed newer version of Ubuntu (22.04) and it is OK.
    Problem solved.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)