ID: 38513 Updated by: [EMAIL PROTECTED] Reported By: ripper at ripper dot net dot ar -Status: Open +Status: Feedback -Bug Type: Performance problem +Bug Type: Unknown/Other Function Operating System: Linux / Windows PHP Version: 5.1.5 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-08-19 20:09:48] ripper at ripper dot net dot ar Description: ------------ A php script with a sockets fuction or fopen or maybe a ftp functions may cause a download file wich cause in some cases a crash of apache, or a over size file > 1gb inside the hd. Reproduce code: --------------- <? set_time_limit(0); $fp = fopen ("testfile.woext","w"); for ($a = 0; $a < 65535; $a++) for ($b = 0; $b < 65535; $b++) for ($c = 0; $c < 65535; $c++) { $str = "File OverSize!!!!"; fputs($fp,$str,strlen($str); } fclose($fp); ?> Expected result: ---------------- A message with WARNING or something setted by php config Actual result: -------------- A file size > 1gb or maybe 2gb ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38513&edit=1
