[Eisfair] [e64] APACHE2_MPM und php7?

Detlef Paschke schabau at t-online.de
So Nov 14 17:49:11 CET 2021


Am 14.11.2021 um 17:28 schrieb Holger Bruenjes:
> Hallo Detlef

Hallo Holger,

> Am 14/11/2021 um 17.12 schrieb Detlef Paschke:
> 
>> Ich geht nicht um APACHE2_DIRECTORY_INDEX, das habe ich nie geschrieben.
> 
> es geht Grundsaetzlich um index.php

Es geht Grundsätzlich um php!

> gucke bitte nach
> 
> /etc/apache2//mods-enabled/php7-fpm.conf

Nachdem ich

START_PHP7='no'
APACHE2_MPM='event'
und
START_PHP7_FPM='yes'

gesetzt habe, hatte ich die genannte Datei
/etc/apache2/mods-enabled/php7-fpm.conf mit diesem Inhalt:

#==============================================================
# Do not edit this file, edit /etc/config.d/php7-fpm
# Creation date: 2021-11-14 17:34:26

# Depends: proxy
<IfModule !proxy_http2_module>
    LoadModule proxy_http2_module
/usr/lib/apache2/modules/mod_proxy_http2.so
</IfModule>

# Depends: fcgi
<IfModule !proxy_fcgi_module>
    LoadModule proxy_fcgi_module /usr/lib/apache2/modules/mod_proxy_fcgi.so
</IfModule>

ProxyFCGIBackendType GENERIC
<FilesMatch \.php$>
    SetHandler "proxy:unix:/run/php7-fpm.sock|fcgi://localhost"
</FilesMatch>
DirectoryIndex index.php
AddType application/x-httpd-php .php

Keine der php-Dateien auf meiner Seite konnte ausgeführt werden.

Nachdem ich

START_PHP7_FPM='no'
APACHE2_MPM='prefork'
und
START_PHP7='yes'

gesetzt habe, kann ich wie gehabt, alle php Dateien auf meiner Seite
ausführen lassen.

> Holger

Viele Grüße
Detlef Paschke

-- 
Das "Zitat des Augenblicks" gibt es nur auf
http://schabau.eu
Meine "Merkzettel"
http://helpdesk.schabau.eu


Mehr Informationen über die Mailingliste Eisfair