ID: 34315 User updated by: marcus at synchromedia dot co dot uk Reported By: marcus at synchromedia dot co dot uk Status: Bogus Bug Type: Apache2 related Operating System: MacOS X 10.4.2 PHP Version: 5.1.0RC1 Assigned To: sniper New Comment:
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? Previous Comments: ------------------------------------------------------------------------ [2005-08-31 14:16:06] [EMAIL PROTECTED] That change was intentional, no bug here. ------------------------------------------------------------------------ [2005-08-31 14:12:03] [EMAIL PROTECTED] 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