From Fedora Project Wiki
(Created page with "<!-- Self Contained or System Wide Change Proposal? Use this guide to determine to which category your proposed change belongs to. Self Contained Changes are: * changes to is...")
 
No edit summary
Line 24: Line 24:


== Summary ==
== Summary ==
mod_php (apache2handler) is an httpd module to execute PHP scripts. 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. By default php-fpm is used for a few versions. mod_php is not supported for threaded modules.


== Owner ==
== Owner ==
Line 62: Line 62:


php-fpm is already used but most users of httpd and nginx without any issue.
php-fpm is already used but 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 ==
== Benefit to Fedora ==


Only provide modern way to execute PHP in a web server.
Only provide the modern way to execute PHP in a web server.
   
   
    
    
Line 73: Line 75:
== Scope ==
== Scope ==


PHP rebuild.
PHP rebuild (mod_php build is already conditional)


<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->

Revision as of 12:47, 21 April 2020


Drop mod_php

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.

Owner

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

Current status

  • Targeted release: Fedora 33
  • Last updated: 2020-04-21
  • Tracker bug: N/A
  • Release notes tracker: N/A

Detailed Description

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.

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