#35096 [Com]: using mod_rewrite with apache2 crashes
| From: | scott at whitetigerphotography dot com | Date: | Tue, 08 Nov 2005 18:33:05 +0000 |
| Subject: | #35096 [Com]: using mod_rewrite with apache2 crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87870@lists.php.net to get a copy of this message | ||
ID: 35096
Comment by: scott at whitetigerphotography dot com
Reported By: rob at burningsoda dot com
Status: Feedback
Bug Type: Apache2 related
Operating System: *
PHP Version: 5CVS, 4CVS (2005-11-04) (snap)
New Comment:
PHP isn't actually crashing with this bug. The original report doesn't
seem to suggest it's crashing either, I'm not sure why the report title
is as it is. This bug is very easily reproducable (on FreeBSD/PHP 4.4.1
at least) with default installs
The bug simply causes PHP not to output anything in most cases, or
output part of a page in others then stop
Previous Comments:
------------------------------------------------------------------------
[2005-11-08 17:49:05] sniper@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2005-11-08 17:47:38] sniper@php.net
--enable-versioning <-- Do you know what that does?
(this has nothing to do with the bug, just note that you're using
configure options you should not use)
------------------------------------------------------------------------
[2005-11-08 15:13:58] rob at burningsoda dot com
sniper,
To quickly reproduce the bug on FreeBSD 6.0, I do the following:
1. Install Apache 2.0.55 using FreeBSD ports
2. Install PHP 5.0.5 using FreeBSD ports
--> The bug does _not_ show up. (If I had installed 4.4.1 from ports,
it would)
4. Get a 5-dev snapshot (the last one I got is of 2005-11-06) and do
this:
./configure\
--enable-versioning\
--enable-memory-limit\
--with-layout=GNU\
--with-config-file-scan-dir=/usr/local/etc/php\
--disable-all\
--enable-libxml --with-libxml-dir=/usr/local\
--enable-spl\
--with-apxs2=/usr/local/sbin/apxs\
--prefix=/usr/local\
i386-portbld-freebsd6.0 &&\
make clean &&\
make &&\
cp libs/libphp5.so /usr/local/libexec/apache2 &&\
/usr/local/etc/rc.d/apache2.sh restart
--> there it is.
The configure arguments are the standard arguments of the FreeBSD build
system, but I do _not_ apply any of the FreeBSD-specific patches, they
deliver (and which got included in the build in step 2).
So, either the bug was introduced after 5.0.5 or one of the patches
(have a look at them here:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/files/)
fixes it
(which I personally don't think).
Cheers, Rob.
------------------------------------------------------------------------
[2005-11-08 01:26:50] Chris at Epler dot net
FreeBSD 4.11, Apache 2.0.55
Immediately after upgrading the PHP package from ports I get
blank pages from Gallery integrated into Drupal which is using
mod_rewrite. 4.4.0 did not have this issue and no other
config file changes were made.
------------------------------------------------------------------------
[2005-11-07 20:17:13] free4cd at yahoo dot de
Same problem on SuSE 9.3 and Apache 2.0.55 and 4.x and 5.x snapshots on
i386.
I've compiled Apache by hand and used the SuSE rpm's but I get the same
error (blank page). I've also tried the php.ini-recommended and
php.ini-dist without changes and it don't work.
With 4.4.0 all works fine but since release of 4.4.1 and later
snapshots (4.x and 5.x) mod_rewrite fails.
------------------------------------------------------------------------
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/35096
--
Edit this bug report at http://bugs.php.net/?id=35096&edit=1