From Fedora Project Wiki
No edit summary
(Add trackers)
 
(8 intermediate revisions by 3 users not shown)
Line 24: Line 24:


== Summary ==
== Summary ==
mod_php (apache2handler) is an optional httpd module to execute PHP scripts, not used. By default php-fpm is used for a few versions. mod_php is not supported for threaded modules.
mod_php (apache2handler) is an optional httpd module to execute PHP scripts, not used.


== Owner ==
== Owner ==
Line 44: Line 44:


== Current status ==
== Current status ==
[[Category:ChangeAcceptedF33]]
[[Category:SelfContainedChange]]
* Targeted release: [[Releases/33 | Fedora 33 ]]  
* Targeted release: [[Releases/33 | Fedora 33 ]]  
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
* Last updated: <!-- this is an automatic macro — you don't need to change this line -->  {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
Line 54: Line 57:
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
-->
-->
* Tracker bug: N/A
* FESCo issue: [https://pagure.io/fesco/issue/2402 #2402]
* Release notes tracker: N/A
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1847163 #1847163]
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/514 #514]


== Detailed Description ==
== Detailed Description ==
By default, php-fpm has been used for a few versions. mod_php is not supported for threaded modules. mod_php usage also increases security risk, sharing the same process than httpd.


Drop mod_php from php build. This will only affect user of httpd in "prefork" mode, which will also use php-fpm.
Drop mod_php from php build. This will only affect user of httpd in "prefork" mode, which will also use php-fpm.


php-fpm is already used but most users of httpd and nginx without any issue.
php-fpm is already used by most users of httpd and nginx without any issue.


The "php" package will be kept as a metapackage, installing (weak dependencies) most commonly used extension, thus reducing the difference between "yum install php" (flat repository) and "yum module install php" (modular repository).
The "php" package will be kept as a metapackage, installing (weak dependencies) most commonly used extension, thus reducing the difference between "yum install php" (flat repository) and "yum module install php" (modular repository).


== Benefit to Fedora ==
== Benefit to Fedora ==
Line 134: Line 138:
Release Notes are not required for initial draft of the Change Proposal but has to be completed by the Change Freeze.  
Release Notes are not required for initial draft of the Change Proposal but has to be completed by the Change Freeze.  
-->
-->
<!-- [[Category:ChangePageIncomplete]] -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- The Wrangler announces the Change to the devel-announce list and changes the category to Category:ChangeAnnounced (no action required) -->
<!-- After review, the Wrangler will move your page to Category:ChangeReadyForFesco... if it still needs more work it will move back to Category:ChangePageIncomplete-->
<!-- Select proper category, default is Self Contained Change -->
<!-- [[Category:ChangeAcceptedF30]] -->
[[Category:SelfContainedChange]]

Latest revision as of 19:31, 15 June 2020


Drop mod_php

Summary

mod_php (apache2handler) is an optional httpd module to execute PHP scripts, not used.

Owner

  • Name: Remi Collet
  • Email: remi at fedoraproject dot org
  • Release notes ticket:

Current status

Detailed Description

By default, php-fpm has been used for a few versions. mod_php is not supported for threaded modules. mod_php usage also increases security risk, sharing the same process than httpd.

Drop mod_php from php build. This will only affect user of httpd in "prefork" mode, which will also use php-fpm.

php-fpm is already used by most users of httpd and nginx without any issue.

The "php" package will be kept as a metapackage, installing (weak dependencies) most commonly used extension, thus reducing the difference between "yum install php" (flat repository) and "yum module install php" (modular repository).

Benefit to Fedora

Only provide the modern way to execute PHP in a web server.


Scope

PHP rebuild (mod_php build is already conditional)


  • Other developers: N/A (not a System Wide Change)
  • Release engineering: N/A
  • Policies and guidelines: N/A (not a System Wide Change)
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

N/A (not a System Wide Change)

How To Test

  • install and play with your web applications

User Experience

No change.


Dependencies

None (dependency on "php" is already forbidden by Guidelines)

Contingency Plan

  • revert
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No
  • Blocks product? product

Documentation

Release Notes