From f3afad23d2a8e5520dfe82b6ffc378fc5a7e64d9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 9 Jun 2022 10:19:29 +0200 Subject: [PATCH] fix conf (mod_php not built / used) (cherry picked from commit 74e575ddb5d7c89f4d34633ad33027be7011f3eb) --- php.conf | 6 ++---- php.modconf | 9 +++++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/php.conf b/php.conf index 8585837..639652b 100644 --- a/php.conf +++ b/php.conf @@ -19,15 +19,13 @@ DirectoryIndex index.php # # Redirect to local php-fpm (no mod_php in default configuration) # - - + # Enable http authorization headers SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1 SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost" - # @@ -36,7 +34,7 @@ DirectoryIndex index.php # # mod_php options # - + # # Cause the PHP interpreter to handle files with a .php extension. # diff --git a/php.modconf b/php.modconf index 3377f72..966dbfe 100644 --- a/php.modconf +++ b/php.modconf @@ -3,10 +3,11 @@ # easy for developers to write dynamically generated webpages. # -# Cannot load both php5 and php7 modules +# Cannot load both php5, php7 and php modules - - LoadModule php7_module modules/libphp7.so + + + LoadModule php7_module modules/libphp7.so + -