ID: 35484
Updated by: sniper@php.net
Reported By: minnoce at polito dot it
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Linux RHEL 4
PHP Version: 5.1.1
New Comment:
Please provide current backtrace. And make sure you had --enable-debug
in your configure line! Also, don't submit ALL the lines, just the
relevant ones. (The "loading symbols.." lines are not needed)
Previous Comments:
------------------------------------------------------------------------
[2005-12-01 15:48:55] minnoce at polito dot it
The bug persist even with the LATEST PHP 5.1 from CVS.
The GDB backtrace is exactly the same already reported.
Thanks,
Mauro
------------------------------------------------------------------------
[2005-12-01 15:10:55] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2005-11-30 12:31:36] minnoce at polito dot it
Description:
------------
I'm compiling PHP with this configuration line:
./configure \
"--prefix=/services/php-4.4-CVS" \
"--with-apxs2=/services/apache/bin/apxs" \
"--with-openssl" \
"--with-config-file-path=/services/httpd/conf" \
"--with-mysql=/usr" \
"--with-zlib" \
"--with-gd" \
"--with-jpeg-dir" \
"--with-png-dir" \
"--with-ldap" \
"--with-freetype-dir" \
"--with-mcrypt=/services/libmcrypt" \
"--with-curl" \
"--with-freetds=/services/freetds" \
"--enable-mbstring"
All the PHP 4.3.11, 4.4.1, 4.4-LATEST-CVS used as module under Apache
2.0.54 work fine.
All the PHP 4.3.11, 4.4.1m 4.4-LATEST-CVS used as module under Apache
2.0.55 cause a segmentation fault when I try to include some PHP script
with more than one Apache's "include virtual" (even a simple <? echo
'TEST'; ?>).
Examples:
- test.html
<html>
<body>
<!--#include virtual="test.php" -->
<!--#include virtual="test.php" -->
</body>
</html>
- test.php
<? echo 'TEST'; ?>
With only one "include virtual" all works fine.
With the two include virtual the Apache child process associated exit
with segmentation fault after the output of the first include.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35484&edit=1