Discussion:
apache2 does not start when php5.6
(too old to reply)
Jivanmukta
2023-04-18 08:40:47 UTC
Permalink
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.
Marco Moock
2023-04-18 09:29:58 UTC
Permalink
Post by 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.
The Doctor
2023-04-18 14:24:10 UTC
Permalink
Post by Jivanmukta
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 ***@nk.ca Ici ***@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
Jivanmukta
2023-04-19 09:49:37 UTC
Permalink
Post by Jivanmukta
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.
Marco Moock
2023-04-19 12:36:17 UTC
Permalink
Post by 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.
Eli the Bearded
2023-04-19 19:41:01 UTC
Permalink
In comp.infosystems.www.servers.unix,
Post by 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.
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
John D Groenveld
2023-04-20 15:26:12 UTC
Permalink
Post by Eli the Bearded
or use multiple Apache daemons on separate ports plus a reverse proxy
Or use separate containers.

John
***@acm.org
Jivanmukta
2023-04-24 09:30:02 UTC
Permalink
Post by Jivanmukta
Post by Jivanmukta
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.

Loading...