Modernize mod_php installation guide - #5743
Open
rbowen wants to merge 1 commit into
Open
Conversation
rbowen
commented
Aug 7, 2026
- Add warning: mod_php should not be used for new installations; recommend PHP-FPM with mod_proxy_fcgi for all modern deployments
- Remove all Apache 2.2 references (EOL since 2017)
- Remove PHP 7 LoadModule example (EOL)
- Correct MPM guidance: event is the default since 2.4, prefork is only needed for mod_php without ZTS
- Note that major distributions already default to PHP-FPM
- Use correct project name (Apache httpd) throughout
- Add warning: mod_php should not be used for new installations; recommend PHP-FPM with mod_proxy_fcgi for all modern deployments - Remove all Apache 2.2 references (EOL since 2017) - Remove PHP 7 LoadModule example (EOL) - Correct MPM guidance: event is the default since 2.4, prefork is only needed for mod_php without ZTS - Note that major distributions already default to PHP-FPM - Use correct project name (Apache httpd) throughout
Author
|
FWIW, I used to be a php docs committer. I might still be. But it's been ... well, a long time, since I did any thing here, so likely the record has been purged. I've been meaning to do this for a very long time. |
lacatoire
reviewed
Aug 7, 2026
| 2.x installs of PHP on Linux and Unix-like systems. | ||
| </para> | ||
|
|
||
| &warn.apache2.compat; |
Member
There was a problem hiding this comment.
warn.apache2.compat is used only here, so if you delete this one, you should remove it from the language-snippets.ent.
But by deleting this entity, you will delete the lonely linkend="faq.installation.apache2" of all the doc, making this page an orphan. So maybe you could reference this link somewhere in your parapgraph.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.