From: smartychan at hotmail dot com Operating system: Windows XP Professional PHP version: 4CVS-2004-12-23 (stable) PHP Bug Type: Performance problem Bug description: PHP Crashes randomly
Description: ------------ Hi, I have an Apache 2, PHP on windows XP pro. They're all installed properly. When I run a php script that is big, it will crash. It will then display The Page Cannot be Displayed (Cannot find server or DNS Error). I tried all 4.3 versions and 5.0, and all versions of apache, and reformatted computer. For example, when I use "include" and include a big regular html file with many words, php "flashes and refreshes", trying to load the php + included html page. Then, it will suddenly crash and the error will show up. This also happens in another area, in a simple coppermine photo gallery. When the php gallery is viewed, sometimes it will suddenly crash. Sometimes it will not. When it does crash and the Page cannot be displyaed shows, I try to refresh it and still cannot view the crashed page. So, it randomly crashes. The php usually crashes when it loads "big information-like a big html page" (not necessarily php code). Also, PHP crashes on the big page no matter what machine I use to view it. It will crash on the server machine itself when the php page is loaded. I do not think it is my computer server problem, tho. This is my server: Sony vaio Pentium III 900mhz 512Ram 40GB hardrive NTFS Could you help me with this problem? Thanks, Felix Chan Reproduce code: --------------- An very simple php file with the include function for "file.html"---file.htm has many words and is relatively big. Also, PHP crashes during coppermine gallery viewing. Expected result: ---------------- PHP should load, and not display an error. Actual result: -------------- PHP "Crashes" The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. Cannot find server or DNS Error Internet Explorer -- Edit bug report at http://bugs.php.net/?id=31275&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31275&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31275&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31275&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31275&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31275&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31275&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31275&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31275&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31275&r=support Expected behavior: http://bugs.php.net/fix.php?id=31275&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31275&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31275&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31275&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31275&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31275&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31275&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31275&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31275&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31275&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31275&r=mysqlcfg