#34315 [NEW]: Installer disables php in httpd.conf
| From: | marcus at synchromedia dot co dot uk | Date: | Wed, 31 Aug 2005 12:05:52 +0000 |
| Subject: | #34315 [NEW]: Installer disables php in httpd.conf | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-84233@lists.php.net to get a copy of this message | ||
From: marcus at synchromedia dot co dot uk
Operating system: MacOS X 10.4.2
PHP version: 5.1.0RC1
PHP Bug Type: Apache2 related
Bug description: Installer disables php in httpd.conf
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 bug report at http://bugs.php.net/?id=34315&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34315&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34315&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34315&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34315&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34315&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34315&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34315&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34315&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34315&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34315&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34315&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34315&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34315&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34315&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34315&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34315&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34315&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34315&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34315&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34315&r=mysqlcfg