|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-20 18:55 UTC] sniper@php.net
[2005-11-28 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 10:00:01 2025 UTC |
Description: ------------ Ocasionally my PHP crashes on IIS 6.0 with error: PHP encountered access violation at... From that moment further PHP pages don't work until I restart IIS, but other pages, like ASP and HTML, parse normally. I found one piece of code which MAY (but does not always) reproduce PHP crash on IIS. It may occure when PHP "include" command tries to include a file with GET vars inside a block of another PHP/HTML mixed block. Reproduce code: --------------- <?php echo "Hello PHP World <br>\n"; { ?> Hello HTML world! This is HTML part of code. <?php // Here we include a file with GET var // and produce PHP crash include "test_bug2.php?b=dfdfdfdf"; ?> <?php } ?> Expected result: ---------------- An ERROR should be produced: Warning: main(test_bug2.php?b=dfdfdfdf) [function.main]: failed to open stream: Invalid argument in test_bug1.php on line Actual result: -------------- Instead, on Win 2003 with IIS, this code SOMETIMES causes PHP to crash with error: PHP has encountered access violation at address ...