For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > August 2005 > #34315 [Opn]: Installer disables php in httpd.conf









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #34315 [Opn]: Installer disables php in httpd.conf
marcus at synchromedia dot co dot uk

2005-08-31, 6:56 pm

ID: 34315
User updated by: marcus at synchromedia dot co dot uk
Reported By: marcus at synchromedia dot co dot uk
Status: Open
Bug Type: Documentation problem
Operating System: MacOS X 10.4.2
PHP Version: 5.1.0RC1
New Comment:

OK, I can understand that reasoning, However, the choice is
really between getting a (non-fatal) warning on startup for a
duplicate LoadModule statement vs not working at all. I'd say
the former is the more tolerable choice. While the
complications with conf.d stuf may be true, if you find an
uncommented LoadModule in httpd.conf, it doesn't seem likely
that it is already duplicated elsewhere. I'm not familiar with
how you tweak httpd.conf programatically, so I guess there may
be more to it than that.


Previous Comments:
------------------------------------------------------------------------

[2005-08-31 16:36:46] sniper@php.net

It's done because most distributions with apache2 use the 'conf.d'
style modularized configurations and the apxs tool can't handle
anything but httpd.conf and that results in having the line in question
in 2 places. Documentation should state this.

------------------------------------------------------------------------

[2005-08-31 14:53:22] derick@php.net

It's stupid to do this - it will stop running installs from working
properly when people upgrade.

------------------------------------------------------------------------

[2005-08-31 14:48:14] marcus at synchromedia dot co dot uk

Any particular reason?

I can see it being not unreasonable for new installs, but for
upgrades (i.e. where the LoadModule line is already active) it
seems really unnecessary. It means that every install of 5.1
will default to not working, even if it was working before.

Is this change in behaviour documented?

------------------------------------------------------------------------

[2005-08-31 14:16:06] sniper@php.net

That change was intentional, no bug here.

------------------------------------------------------------------------

[2005-08-31 14:12:03] derick@php.net

Jani, I think this is broken by you when you changed the apxs switch
from "install" to "not install" or something, please have a look at it.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/34315

--
Edit this bug report at http://bugs.php.net/?id=34315&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com