ID: 16113
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Scripting Engine problem
Operating System: Any? (Mine: Linux 2.4.13)
PHP Version: 4.1.2
New Comment:
And this issue can also be abused by users that want to DoS webservers.
Previous Comments:
------------------------------------------------------------------------
[2002-03-16 12:35:35] [EMAIL PROTECTED]
Hello,
Althought its the user responsibility to verify his scripts, my user
did not have enough knowledge of PHP to be able to verify all his
scripts and my Apache died.
The problem?
In short, i reproduced the problem by making 2 files:
file1.php:
<? include("http://host.name/file2.php"); ?>
file2.php
<? include("http://host.name/file1.php"); ?>
When you open http://host.name/file1.php you will see an enormous
amount of Apache childs. And apache hangs (it does not respond to new
requests!).
I know its the user his fault, but when you have a very complicated
website this might happen because of bugs in your scripts. Because of
this my Apache webserver died and I had to restart Apache to make it
work again. Perhaps its a good idea to add somekind of check to
prevent things like this?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16113&edit=1