ID: 27228 Updated by: [EMAIL PROTECTED] Reported By: arthur at levelogic dot com -Status: Open +Status: Bogus -Bug Type: Reproducible crash +Bug Type: Apache2 related Operating System: RedHat Linux 9 PHP Version: 4.3.4 New Comment:
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..) Previous Comments: ------------------------------------------------------------------------ [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