#34315 [Asn->Bgs]: Installer disables php in httpd.conf
| From: | sniper@php.net | Date: | Wed, 31 Aug 2005 12:16:07 +0000 |
| Subject: | #34315 [Asn->Bgs]: Installer disables php in httpd.conf | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84235@lists.php.net to get a copy of this message | ||
ID: 34315
Updated by: sniper@php.net
Reported By: marcus at synchromedia dot co dot uk
-Status: Assigned
+Status: Bogus
Bug Type: Apache2 related
Operating System: MacOS X 10.4.2
PHP Version: 5.1.0RC1
Assigned To: sniper
New Comment:
That change was intentional, no bug here.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2005-08-31 14:05:51] marcus at synchromedia dot co dot uk
Description:
------------
Everything compiles and installs ok (as an apache2filter), but
apache2 just doesn't load it. I tracked it down to a simple
problem in httpd.conf - the 5.1 installer comments out this
line:
LoadModule php5_module /sw/lib/apache2/modules/
libphp5.so
Even though make install said:
[preparing module `php5' in /sw/etc/apache2/httpd.conf]
An identical configuration of PHP 5.0.5RC2 works perfectly and
does not comment out that line, The CLI compile of 5.1 works
ok too.
Reproduce code:
---------------
Starting with a working install of 5.0.5RC2,
% cd php-5.1.0RC1
% grep php5_module /sw/etc/apache2/httpd.conf
LoadModule php5_module /sw/lib/apache2/modules/libphp5.so
% make install
...
% grep php5_module /sw/etc/apache2/httpd.conf
#LoadModule php5_module /sw/lib/apache2/modules/libphp5.so
So it's definitely the installer that's disabling it.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34315&edit=1