ID: 48563 Updated by: paj...@php.net Reported By: dmda at yandex dot ru Status: Open Bug Type: Reproducible crash Operating System: Windows XP sp3 PHP Version: 5.3.0RC3 Assigned To: pajoye New Comment:
Quick note: If you use fastcgi, you don't need thread safe build, use NTS. And for php 5.3, use VC9 NTS builds, even faster/better. Previous Comments: ------------------------------------------------------------------------ [2009-06-17 11:44:42] dmda at yandex dot ru IIS crashes with this error: ============================================ FastCGI Error The FastCGI Handler was unable to process the request. -------------------------------------------------------------------------------- Error Details: The FastCGI process exited unexpectedly Error Number: -1073741819 (0xc0000005). Error Description: Unknown Error HTTP Error 500 - Server Error. Internet Information Services (IIS) ============================================ if you have VC6's JIT debugger turned on, you'll be prompted to start debugging. NOTE0: Installed IIS6 is the one that came with XP. FastCGI is taken from http://php.iis.net/ NOTE1: Don't restart IIS using its own restart function. This function won't unload php-cgi.exe processes, so they may not see changes in php.ini. Restart "World Wide Web Publishing" service, and make sure php-cgi.exe is not listed in the process list, otherwise kill it. NOTE2: Official php-5.3RC3 binary http://windows.php.net/qa/ VC6 x86 Thread Safe (2009-Jun-10 21:10:42) Zip [12.83MB] sha1: f657b41f9035d0d2245a83bbdf65c5ce0767245a is crashing too. NOTE3: php.ini should contain a line commented with # terminated with EOL (either 0xD,0xA, or just 0xA) for example: ======================== #somethign ======================== NOTE4: what you try to run does not matter. For example you may want to try <?php phpinfo(); ?> Let know if you need any furhter info. ------------------------------------------------------------------------ [2009-06-17 10:01:50] dmda at yandex dot ru >On the screenshot, bottom right: >"PHP Deprecated: Comments starting with '#' are deprecated in >..php.ini..." > >That can happen only when php-cgi.exe php.ini is used Funny :), but you're absolutely wrong here. Please check callstack that I submitted in the original post and you'll see that php was PARSING that php.ini file when it tried to throw an error and crashed. FYI php parses ini files too and there are lexer/grammars in Zend/zend_ini_parser.y and Zend/zend_ini_scanner.l In fact php was run with a pure php file, but it does not matter because php did not even start compiling that file. ------------------------------------------------------------------------ [2009-06-17 09:13:13] paj...@php.net On the screenshot, bottom right: "PHP Deprecated: Comments starting with '#' are deprecated in ..php.ini..." That can happen only when php-cgi.exe php.ini is used. Please try "php -c php.ini -i", and no, I do not consider you as an idiot (just in case :) ------------------------------------------------------------------------ [2009-06-17 08:38:52] dmda at yandex dot ru >btw, for what I can read in the screenshot, you are executing the >php.ini :) Is it really what you want? No, I'm not that idiot, and even if I did this, wouldn't php just ignore the file as it contains no php code? May I ask why you think I'm executing php.ini? >From the screenshot it's clear that the error message refers to php.ini. Do you have the same error message in php.log? >(restarting IIS in between each change). Did you make sure that no php-cgi.exe processes remained running? Did you make sure that browser gets the content from executed script and IIS returned HTTP/200? ------------------------------------------------------------------------ [2009-06-17 08:27:19] RQuadling at GMail dot com Hi. Using Windows Server 2008 Enterprise with IIS7 (V7.0.6000.16386) with PHP V5.3.0RC4-dev (Build date Jun 16 2009 08:56:09, Compiler MSVC9 (Visual C++ 2008) x86) with Server API CGI/FastCGI (Is that enough detail?). Using #extension_dir = C:/PHP5/ext and extension_dir = C:/PHP5/ext (restarting IIS in between each change). No problems. Sure extensions aren't available (as seen in phpinfo()). With the # I have 34 extensions loaded (count(get_loaded_extensions()) vs 58 without the # (just loaded them all that I could as a test). No other change to the INI file. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/48563 -- Edit this bug report at http://bugs.php.net/?id=48563&edit=1