php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45630 IIS7 + PHP5.3 via FastCGI = Crash
Submitted: 2008-07-26 08:51 UTC Modified: 2008-11-01 01:00 UTC
Votes:8
Avg. Score:4.2 ± 1.0
Reproduced:7 of 8 (87.5%)
Same Version:5 (71.4%)
Same OS:3 (42.9%)
From: ast dot markus at gmx dot net Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.3CVS-2008-07-15 (snap) OS: Windows Vista SP1 x64
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-07-26 08:51 UTC] ast dot markus at gmx dot net

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-27 11:10 UTC] jani@php.net
Does this happen with Apache? (Please try) And please provide the cgi/fastcgi related php.ini options you have used.
 [2008-07-29 11:23 UTC] ast dot markus at gmx dot net
> Does this happen with Apache?
I tried Apache. But Apache does not work for me at all (not because of PHP) and I have currently no time to try to fix Apache. I am sorry. Maybe I try it later again ...

But here are my cgi/fastcgi related php.ini options:
cgi.force_redirect = 0
cgi.fix_pathinfo = 1
fastcgi.impersonate = 1
 [2008-07-30 18:54 UTC] jani@php.net
Did you have the debug stuff installed when you did that backtrace?
And as it seems this error is caused either by "Out of memory" or when exceeding memory_limit, try without any php.ini loaded. (just remove every php*.ini file from your system to be absolutely sure!)
 [2008-07-30 19:59 UTC] ast dot markus at gmx dot net
> Did you have the debug stuff installed when you did that backtrace?
If you mean this: http://snaps.php.net/win32/php5.3-dbgpack-win32-200807280430.zip - yes

I tried it without any php.ini loaded and it works! At least partly. It processed the PHP Script and also gave me an output now. But after that it crashes.

I made an backtrace of this crash. Here the complete backtrace result. I hope it helps: http://85.88.23.236/CrashHang_Report__PID_2996__PID_3364__PID_3380__PID_4196__PID_4448__PID_4500__PID_4544__PID_4568__PID_4892__PID_5472__PID_5624__PID_5804__PID_5848__PID_5936__PID_6048__PID_908__PID_916__07302008215228250.mht

> caused either by "Out of memory
I have 4GB Ram :)
 [2008-08-02 08:19 UTC] ast dot markus at gmx dot net
If I use an unmodified php.ini it also works partly. It just crashes after processed the PHP Script. But using the PDO extension it causes to the crash mentioned in my first post.
 [2008-08-02 08:43 UTC] ast dot markus at gmx dot net
With this:
extension=php_pdo.dll
PHP crashes while loading phpinfo()

With this:
;extension=php_pdo.dll
PHP doesnt crashes and loads phpinfo() but according to phpinfo it also loads the PDO Extension. And it also throws PDOExceptions.

If I want to load the php_pdo_mysql.dll or php_mysqli.dll extension the phpinfo() work, too. But If I want to use MySQL than, it crashs again.
 [2008-08-15 05:54 UTC] ast dot markus at gmx dot net
I dont think that its only PDO related. I tested it again without PDO and without any extension and .... it crashs.

The backtrace can be found here: http://85.88.23.236/php%20crash.mht
 [2008-10-24 16:40 UTC] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2008-11-01 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2011-03-21 21:16 UTC] florin at mailinator dot com
it's 3 years later, the bug is still there...
 [2011-03-21 21:36 UTC] florin at mailinator dot com
actually i have to retract that. The cause of the error was the missing of the CGI support. Once that was installer everything worked just fine.
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Wed Apr 23 18:01:55 2014 UTC