public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: fix conf (mod_php not built / used)
Date: Fri, 27 Nov 2026 07:32:00 GMT [thread overview]
Message-ID: <179576472066.1.10761222415796129809.rpms-php-f3afad23d2a8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : f3afad23d2a8e5520dfe82b6ffc378fc5a7e64d9
Author : Remi Collet <remi@fedoraproject.org>
Date : 2022-06-09T10:19:52+02:00
Stats : +7/-8 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/f3afad23d2a8e5520dfe82b6ffc378fc5a7e64d9?branch=private-php86
Log:
fix conf (mod_php not built / used)
(cherry picked from commit 74e575ddb5d7c89f4d34633ad33027be7011f3eb)
---
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)
#
-<IfModule !mod_php5.c>
- <IfModule !mod_php7.c>
+<IfModule !mod_php.c>
# Enable http authorization headers
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
<FilesMatch \.(php|phar)$>
SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost"
</FilesMatch>
- </IfModule>
</IfModule>
#
@@ -36,7 +34,7 @@ DirectoryIndex index.php
#
# mod_php options
#
-<IfModule mod_php7.c>
+<IfModule mod_php.c>
#
# 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
<IfModule !mod_php5.c>
- <IfModule prefork.c>
- LoadModule php7_module modules/libphp7.so
+ <IfModule !mod_php7.c>
+ <IfModule prefork.c>
+ LoadModule php7_module modules/libphp7.so
+ </IfModule>
</IfModule>
</IfModule>
-
reply other threads:[~2026-11-27 7:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179576472066.1.10761222415796129809.rpms-php-f3afad23d2a8@fedoraproject.org \
--to=remi@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox