SliTaz SliTaz Forum

You are not logged in.

#1 2022-05-01 11:50:42

rerivero
Member
Registered: 2012-06-18
Posts: 235

Report: apache with php-apache crashes

Apache with php-apache fails. It doesn't work.

apache search /usr/share/apache/modules/libphp5.so and cannot find the file.

Php-apache install libphp7.so

Offline

#2 2022-05-02 04:27:39

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: Report: apache with php-apache crashes

Simple solution:

edit line 170 and replace como root:

leafpad /etc/apache/httpd.conf

Replace: LoadModule php5_module share/apache/modules/libphp5.so

for

Add: LoadModule php7_module share/apache/modules/libphp7.so

Then you must comment line 514 to skip error about Module and SSL Certificate.

#Include /etc/apache/extra/httpd-ssl.conf

Configure daemon, so that apache starts with the system and does not conflict with Busibox's httpd. You should replace httpd with apache:

leafpad /etc/rcS.conf

replace: RUN_DAEMONS="compcache firewall httpd ntpd"

for

add: RUN_DAEMONS="compcache firewall apache ntpd"

The next time you start your system, Apache is working.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.52 MiB (Peak: 1.77 MiB) ]