Mailinglist Archive: opensuse-factory (355 mails)

< Previous Next >
[opensuse-factory] php7-fpm setup does not work anymore
Since last TW snapshot 20200301**my apache2/php7-fpm setup does not work
anymore.

My /etc/apache2/conf.d/php7-fpm.conf:
<FilesMatch \.php$>
        <If "-f %{REQUEST_FILENAME}">
                SetHandler
"proxy:unix:/var/run/php-fpm-www.sock|fcgi://localhost/"
        </If>
</FilesMatch>
DirectoryIndex index.php index.html index.htm
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1

My /srv/www/htdocs/phpinfo.php
<?php
phpinfo();
?>

# ls -l /var/run/php-fpm-www.sock
srw-rw---- 1 wwwrun www 0 Mar  4 10:23 /var/run/php-fpm-www.sock

Apache shows the following error
==> /var/log/apache2/error_log <==
[Wed Mar 04 11:14:37.097340 2020] [proxy:warn] [pid 17366:tid
139652128270080] [client 127.0.0.1:41280] AH00917: connect to remote
machine localhost blocked: IP 0.0.0.0 matched
[Wed Mar 04 11:14:37.097378 2020] [proxy:error] [pid 17366:tid
139652128270080] [client 127.0.0.1:41280] AH00898: Connect to remote
machine blocked returned by /phpinfo.php

==> /var/log/apache2/access_log <==
127.0.0.1 - - [04/Mar/2020:11:14:37 +0100] "GET /phpinfo.php HTTP/1.1"
403 1079 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101
Firefox/73.0"

PHP7-FPM shows
==> /var/log/php-fpm.log
[04-Mar-2020 11:20:26] NOTICE: fpm is running, pid 19836
[04-Mar-2020 11:20:26] NOTICE: ready to handle connections
[04-Mar-2020 11:20:26] NOTICE: systemd monitor interval set to 10000ms

Any ideas?

Greetings,
Björn
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups