public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: add information about mod_php being deprecated
@ 2026-11-27  7:30 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-27  7:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : 6117551aef4741bdb17a45ee69e80ad1ea4b3b78
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2020-06-05T09:49:13+02:00
Stats  : +8/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/6117551aef4741bdb17a45ee69e80ad1ea4b3b78?branch=private-php86

Log:
add information about mod_php being deprecated

---
diff --git a/php.spec b/php.spec
index ea7a405..2f06958 100644
--- a/php.spec
+++ b/php.spec
@@ -157,6 +157,13 @@ Provides: mod_php                = %{version}-%{release}
 Requires(pre): httpd-filesystem
 # php engine for Apache httpd webserver
 Provides: php(httpd)
+# mod_php is deprecated, no package should requires php or mod_php
+# all packages must requires used SAPI (cli, fpm, embded..)
+# and used extrensions (mysqli, mbstring, xmlwriter...)
+Provides: deprecated()
+%else
+# preserve old behavior
+Recommends: httpd
 %endif
 Requires: php-common%{?_isa}     = %{version}-%{release}
 # For backwards-compatibility, pull the "php" command
@@ -185,7 +192,7 @@ use of PHP coding is probably as a replacement for CGI scripts.
 %if %{with_modphp}
 The php package contains the module (often referred to as mod_php)
 which adds support for the PHP language to Apache HTTP Server when
-running in prefork mode.
+running in prefork mode. This module is deprecated.
 %endif
 
 %package cli

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27  7:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:30 [rpms/php] private-php86: add information about mod_php being deprecated Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox