rfc:apxs-loadmodule
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | rfc:apxs-loadmodule [2012/02/28 20:07] – Added voting section. kriscraig | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Request for Comments: APXS LoadModule Option in configure ====== | ||
+ | * RFC Version: 1.30 | ||
+ | * Target PHP Version: 5.4.1 | ||
+ | * Date: 2012-02-20 | ||
+ | * Author: Kris Craig < | ||
+ | * Status: Voting Underway | ||
+ | * First Published at: http:// | ||
+ | |||
+ | |||
+ | ===== Abstract ===== | ||
+ | |||
+ | This RFC proposes the addition of an option to PHP's configure script that allows the user to specify whether they want Apache' | ||
+ | |||
+ | ==== Note ==== | ||
+ | |||
+ | This optional configure switch will essentially just be taking advantage of a feature that is already built-in to APXS. If this new switch is not specified, the default behavior will be // | ||
+ | |||
+ | ===== Background ===== | ||
+ | |||
+ | ==== PHP Configuration Script ==== | ||
+ | |||
+ | When the configure script is executed, a vast number of options are available to the user, from enabling/ | ||
+ | |||
+ | ==== APXS ==== | ||
+ | |||
+ | APXS is an acronym that stands for, " | ||
+ | |||
+ | Like PHP's configure script, APXS has a number of helpful options available to the user. One of these options, " | ||
+ | |||
+ | More information on APXS can be found at: http:// | ||
+ | |||
+ | ==== Makefile ==== | ||
+ | |||
+ | APXS is called from the Makefile when you run, "make install" | ||
+ | |||
+ | ===== Current Behavior ===== | ||
+ | |||
+ | Despite APXS's native support for specifying whether or not httpd.conf should be overwritten, | ||
+ | |||
+ | ===== The Problem ===== | ||
+ | |||
+ | Many developers and IT personnel perfer to isolate PHP in its own separate configuration file (i.e. php.conf), which includes the LoadModule directive. | ||
+ | |||
+ | A bug was actually filed for this problem back in 2004. Specifically, | ||
+ | |||
+ | ===== The Solution ===== | ||
+ | |||
+ | Quite simple, really. | ||
+ | |||
+ | --with-apxs2-hook[=TYPE] : Where TYPE is one of: " | ||
+ | |||
+ | The " | ||
+ | |||
+ | ==== It's Already Written ==== | ||
+ | |||
+ | I've already made the changes and tested them successfully on Ubuntu. | ||
+ | |||
+ | ==== APXS vs. APXS2 ==== | ||
+ | |||
+ | After prolonged and at-times agonizing consideration, | ||
+ | |||
+ | * Apache 1.3.x was officially " | ||
+ | * According to an informal poll conducted by cPanel about a year ago, 91% of their users report that they use Apache 2.x instead of 1.3.x in all circumstances. | ||
+ | * Of all the requests for this feature I have seen that were posted in recent years, I have not been able to find a single one who was using Apache 1.3.x instead of 2.x. | ||
+ | * Keeping 1.3.x support for legacy compatibility does not necessitate continuing to apply new features to it. On the contrary, continuing to expend resources (even a small amount as would be the case this time) supporting something that its makers already EOL'd a long time ago would set a bad precedent. | ||
+ | * When repeatedly asked on the listserv, nobody in the PHP community expressed support for applying this to Apache 1.3.x as well. | ||
+ | * Given current sentiment, it is reasonable to predict that the PHP community will opt to officially deprecate Apache 1.3.x in the relatively near future. | ||
+ | |||
+ | For the above reasons, this new optional switch will not be made available for Apache 1.3.x. | ||
+ | |||
+ | ===== Final Thoughts ===== | ||
+ | |||
+ | This should make PHP just a little bit easier to manage without any adverse consequences. | ||
+ | |||
+ | It occurred to me that the next logical step would be to expand this so that the user could opt to create a separate configuration file (i.e. php.conf) and have an include directive added to httpd.conf if it's not already there. | ||
+ | |||
+ | ===== Vote ===== | ||
+ | |||
+ | < | ||
+ | title=" | ||
+ | * yes | ||
+ | * no | ||
+ | </ | ||
+ | |||
+ | ===== Changelog ===== | ||
+ | |||
+ | Version 1.30 : Voting. | ||
+ | |||
+ | Version 1.21 : Typo correction. | ||
+ | |||
+ | Version 1.20 : Content revisions based on PHP Internals discussions. | ||
+ | |||
+ | Version 1.10 : Status => Under Discussion. | ||
+ | |||
+ | Version 1.01 : Typo corrections. | ||
+ | |||
+ | Version 1.00 : Initial proposal. | ||
rfc/apxs-loadmodule.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1