php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #28181 "make install" alters httpd.conf
Submitted: 2004-04-27 14:23 UTC Modified: 2011-12-30 19:44 UTC
Votes:7
Avg. Score:3.9 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:2 (50.0%)
Same OS:2 (50.0%)
From: hus at design-d dot de Assigned: kriscraig
Status: Assigned Package: *Configuration Issues
PHP Version: 4.x, 5.x OS: Linux
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-04-27 14:23 UTC] hus at design-d dot de
Description:
------------
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 
feature. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-27 21:11 UTC] derick@php.net
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. 
 [2004-04-28 15:18 UTC] hus at design-d dot de
But axps only does this if the "-a" flag is specified. Just 
drop that.
 [2004-04-28 17:08 UTC] derick@php.net
I'm all for this, as I thought it to be very annoying too...
 [2004-04-28 17:10 UTC] derick@php.net
I'm all for this, as I thought it to be very annoying too...
 [2011-12-23 23:38 UTC] kriscraig@php.net
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.
 [2011-12-30 19:43 UTC] kriscraig@php.net
-Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: kriscraig
 [2011-12-30 19:44 UTC] kriscraig@php.net
-Package: *General Issues +Package: *Configuration Issues -PHP Version: 4.3.6 +PHP Version: 4.x, 5.x
 [2011-12-30 19:45 UTC] kriscraig@php.net
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.
 [2012-02-27 01:31 UTC] kriscraig@php.net
RFC to resolve this issue:  https://wiki.php.net/rfc/apxs-loadmodule
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Mon Apr 21 12:02:07 2014 UTC