ID: 10834
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Reproducible crash
Operating system: 
PHP Version: 4.0.5
Assigned To: 
Comments:

I could not reproduce this on Linux/PHP 4.0.6dev with the
following structure:

/include1.php
/1/include2.php
/2/test.php

test.php =
<?php
include ("../1/include2.php");
echo "test.php\n";
?>

include2.php =
<?php
include ("../include1.php");
echo "include2.php\n";
?>

include1.php =
<?php
echo "include1.php\n";
?>

Are you maybe doing a recursive include? Does using include_once (instead of include) 
works for you?
If these two options don't help you, please make a tar of your reproducing scripts, 
and mail them to me (derick at php dot net).

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

[2001-05-12 18:21:36] [EMAIL PROTECTED]
To reproduce it, create a php file (content doesn't matter), then make a directory and 
change into it. Create a second php file including the first one, make another 
directory and write a php file with an include to the second file into it. When you 
start this file, PHP begins to consume all available CPU und RAM resources. The 
consequence is a crash of the whole machine running the httpd- or php-process. The 
memory limiting function in PHP doesn't take effect in this case.

Regards,

Daniel Fuehrer

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



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10834&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to