mod_php (apache2handler) is an optional httpd module to execute PHP scripts, not used.
- Name: Remi Collet
- Email: remi at fedoraproject dot org
- Release notes ticket:
- Targeted release: Fedora 33
- Last updated: 2020-06-15
- FESCo issue: #2402
- Tracker bug: #1847163
- Release notes tracker: #514
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.
PHP rebuild (mod_php build is already conditional)
- Other developers: N/A (not a System Wide Change)
- Release engineering: N/A
- List of deliverables: N/A (not a System Wide Change)
- Policies and guidelines: N/A (not a System Wide Change)
- Trademark approval: N/A (not needed for this Change)
N/A (not a System Wide Change)
How To Test
- install and play with your web applications
None (dependency on "php" is already forbidden by Guidelines)
- Contingency deadline: N/A (not a System Wide Change)
- Blocks release? N/A (not a System Wide Change), Yes/No
- Blocks product? product