ID:               27228
 User updated by:  arthur at levelogic dot com
 Reported By:      arthur at levelogic dot com
 Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: RedHat Linux 9
 PHP Version:      4.3.4
 New Comment:

Using latest everything (Apache, PHP5), still having same problem. 
Using apache2handler.

http://bugs.php.net/bug.php?id=4804

That report says that PHP is not reentrant, so that would explain the
problem.  Simple enough...But wouldn't a better error or escape be
appropriate instead of a seg fault?  In my opinion, reproducible seg
fault = bug.

Any plans on making PHP reentrant-able?


Previous Comments:
------------------------------------------------------------------------

[2004-02-12 10:21:39] [EMAIL PROTECTED]

To make this work you must use PHP's apache2handler module.
But I don't see why you would want to do this anyway,
using 'include()' works much better when you deal with PHP code within
PHP code..

(the crash is not even PHP related I bet..you failed to give a
backtrace so I have to ASSUME..)


------------------------------------------------------------------------

[2004-02-11 21:37:23] arthur at levelogic dot com

Description:
------------
Setting up Apache 2.0 to FILTER php files and SSI parse them.  When
trying to include a php file from within another php file, I get a seg
fault.

Apache setup as:
<Files *.php>
    SetOutputFilter PHP;INCLUDES
    SetInputFilter PHP
    LimitRequestBody 524288
</Files>

Reproduce code:
---------------
/test1.php
<!--#include virtual="/test2.php" -->

/test2.php
Testing 1 2 3

Expected result:
----------------
Testing 1 2 3

Actual result:
--------------
Seg fault on server and hanging to eventually timeout on client.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27228&edit=1

Reply via email to