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: improve comment about mod_php being deprecated
Date: Fri, 27 Nov 2026 07:28:47 GMT [thread overview]
Message-ID: <179576452737.1.1689326515489317687.rpms-php-45b145421bd2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : 45b145421bd286e0344db3f8f00bf10f6f51ca0c
Author : Remi Collet <remi@fedoraproject.org>
Date : 2017-11-17T08:26:13+01:00
Stats : +19/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/45b145421bd286e0344db3f8f00bf10f6f51ca0c?branch=private-php86
Log:
improve comment about mod_php being deprecated
---
diff --git a/php.conf b/php.conf
index 2eb6a28..8585837 100644
--- a/php.conf
+++ b/php.conf
@@ -16,7 +16,26 @@ AddType text/html .php
#
DirectoryIndex index.php
+#
+# Redirect to local php-fpm (no mod_php in default configuration)
+#
+<IfModule !mod_php5.c>
+ <IfModule !mod_php7.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>
+
+#
+# mod_php is deprecated as FPM is now used by default with httpd in event mode
+# mod_php is only used when explicitly enabled or httpd switch to prefork mode
+#
# mod_php options
+#
<IfModule mod_php7.c>
#
# Cause the PHP interpreter to handle files with a .php extension.
@@ -43,15 +62,3 @@ DirectoryIndex index.php
#php_value opcache.file_cache "/var/lib/php/opcache"
</IfModule>
-
-# Redirect to local php-fpm if mod_php is not available
-<IfModule !mod_php5.c>
- <IfModule !mod_php7.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>
reply other threads:[~2026-11-27 7:28 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=179576452737.1.1689326515489317687.rpms-php-45b145421bd2@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