locked
FastCGI TP2 runs fine on Vista Business/IIS 7/PHP 5.2 but not PHP 6 RRS feed

  • Question

  • User2013605207 posted

    Hi all,

    Just a note I've successfully managed to get FastCGI TP2 to work on Vista Business edition running IIS 7 and PHP 5.2. Haven't been so lucky with PHP 6.0 Build 6000. Executing the fcgisetup.exe command as so produces no discernable errors:

    %>fcgisetup.exe /install /add c:\php52\php-cgi.exe php

    However when I attempt to execute a test PHP script, I receive a 500 Internal Server Error, with the following information:

    Description: The FastCGI process exited unexpectedly

    Error Code: 0xc0000005

     At the same time, a separate error window opens informing me that "CGI/FastCGI stopped working and was closed"

    Checking out the event viewer, I receive: 

    Faulting application php-cgi.exe, version 6.0.0.0, time stamp 0x45e075be, faulting module php-cgi.exe, version 6.0.0.0, time stamp 0x45e075be, exception code 0xc0000005, fault offset 0x000015ea, process id 0x2b8, application start time 0x01c777212751816a.
     

    No worries of course, PHP 6.0 isn't exactly stable yet. :-) Just an informational matter in case others are experiencing similar issues, just confirming it seems to be a general compatibility issue at the moment.

    Jason 

    Wednesday, April 4, 2007 9:47 PM

All replies

  • User2013605207 posted

    Agh I copied the wrong command line when writing up this post. Instead of:

    %>fcgisetup.exe /install /add c:\php52\php-cgi.exe php

    That should read:

    %>fcgisetup.exe /install /add c:\php6\php-cgi.exe php

    Wednesday, April 4, 2007 9:48 PM
  • User-679828332 posted

    Hi Jason,

    Thanks for reporting this. I downloaded php 6 200704042230 from snaps.php.net and helloworld.php works for me.

    A good method to isolate IIS and MS FastCGI from the problem is to try using my Fake FastCGI Server:

    http://blogs.iis.net/rickjames/archive/2007/02/04/fake-fastcgi-web-server.aspx

    Is the problem still repros with the Fake FastCGI server, and you're feeling adventurous:

    1) unzip the "debug pack" from snaps.php.net into \php6

    2) install "Debugging Tools for Windows" (microsoft.com)

    3) \debuggers\cdb -g -G \temp\fakefcgi.exe d:\inetpub\wwwroot\hello.php d:\php6\php-cgi.exe

    4) You should see something about an Access Violation.

    5) Type 'kb' in the debugger

    6) Share your debugger output :-)

    Cheerz,

    Rick.

    Wednesday, April 4, 2007 10:16 PM
  • User2013605207 posted

    Hey Rick,

    Thank you for the input on this! Still trying to get familiarized with what's available in terms of Windows diagnostics, so the pointer to the "Debugging Tools for Windows" package should prove very helpful. I'll give it a whirl and see what happens.

    Thanks again!

    Jason
     

    Wednesday, April 4, 2007 10:20 PM