Edit report at https://bugs.php.net/bug.php?id=55712&edit=1
ID: 55712 User updated by: ken at simplecommerce dot com Reported by: ken at simplecommerce dot com Summary: FastCGI causes event 1000 application error when using number_format(0) Status: Open Type: Bug Package: IIS related Operating System: Windows server 2008 R2 PHP Version: 5.3.8 Block user comment: N Private report: N New Comment: Here is an update. We made our own function to bypass number_format. We found another error which causes php fastcgi to crash. round(0). I am assuming that number_format uses round? So we are bypassing round for the moment to see if we encounter any other problems. But right now both number_format and round 0 crashes. I hope you guys are aware of this or are testing this also. Previous Comments: ------------------------------------------------------------------------ [2011-09-23 11:23:09] ken at simplecommerce dot com Ok so we had a local expert go through the debugging and see if he could find anything wrong with our setup, and from what he tells me, it really is number_format(0) that seems to crash the IIS7/FastCGI server with a 500 error. ------------------------------------------------------------------------ [2011-09-18 17:57:19] ken at simplecommerce dot com I have used Debug Diag 1.2 to create a crash hang report on the php-cgi.exe process. Here is the result I have got from the analysis. If it can help figure out if this is indeed a bug or it's something else. I am trying to narrow it down to get a possible fix. http://www.mediafire.com/?ezxjt68v0axozif ------------------------------------------------------------------------ [2011-09-18 17:11:48] ken at simplecommerce dot com Thanks for the link. It is a good alternative, but if possible I would prefer a solution to my current problem without having to go through all my files and re-code using this new method. ------------------------------------------------------------------------ [2011-09-18 15:29:43] paj...@php.net I would go with intl, see http://www.php.net/manual/en/class.numberformatter.php number_format depends on the system API and can be very buggie. ------------------------------------------------------------------------ [2011-09-18 15:19:34] ken at simplecommerce dot com I just wanted to add that I opened up a thread on iis.net forum to see if I Can get assistance on that end also. http://forums.iis.net/p/1181683/1996258.aspx I am desperately trying to find a fix to this issue. ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=55712 -- Edit this bug report at https://bugs.php.net/bug.php?id=55712&edit=1