go to bug id or search bugs for
The installation procedure tries to be helpful and adds a
loadmodule instruction to the apache configuration. This
might be nice if you have a default installation, but I
firmly believe in keeping separate packages separate to
keep my installation manageable. Therefore I have separate
configuration files for addons like php or subversion; the
"main" httpd.conf gets overwritten every now and then.
So I'd like have at least the option of disabling this
Add a Patch
Add a Pull Request
This is not something that PHP does, but the apache "APXS" tool. If you want to prevent that, either don't use "make install" or make a static module for PHP.
But axps only does this if the "-a" flag is specified. Just
I'm all for this, as I thought it to be very annoying too...
I just stumbled upon this really old (and still open) bug from PHP 4 while Googling this very issue on 5.2.17.
Has this ever been addressed? If not, was there any pressing reason why or is it just not a priority? If the latter, I could probably take ownership of this if nobody has any objections.
Since there are no objections, I went ahead and assigned this to myself. I also updated the version to reflect that this issue is still present in the 5.x branches.
RFC to resolve this issue: https://wiki.php.net/rfc/apxs-loadmodule
Um, the RFC has been accepted for PHP 5.4.11, but it is still
listed in the "Pending implementation" section:
What's the status?