From: [EMAIL PROTECTED] Operating system: Any? (Mine: Linux 2.4.13) PHP version: 4.1.2 PHP Bug Type: Scripting Engine problem Bug description: Circulaire includes makes Apache hang.
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 bug report at http://bugs.php.net/?id=16113&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16113&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16113&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16113&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16113&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16113&r=support Expected behavior: http://bugs.php.net/fix.php?id=16113&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16113&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16113&r=submittedtwice