HI guys,

I am having a hell of a time getting php4 to work on pws4.I have run the installer that comes with the download, downloaded another installer, ran that...but still nothing works...

The registry key mimics the setup instructions...
The php.ini file is int the windows dir...
the php4isapi.dll is in the windows/system dir..
The inetpub folders have had php execute procedures on them

when I try to run the phpinfo script I get a CGI application error, says "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:" and gives no further information...

what can I do to get this up and tunning?

TIA
Bastien

    I used to get that error when working in perl and calling a file that didnt exist.

    I had a hard time at first installing php then i took a second look at it.. its easy.

    1. Make sure msvcrt.dll and php4ts.dll are in your c:\windows directory.

    2. The installer should have put php.ini in the c:\windows directory. if its there, just leave it alone.

    3. Make sure php.exe and php4isapi.dll are in your C:\PHP directory.

    4. As long as all those things are in place, then go into regedit and navigate to

    HKEY local machine>system>current control set>services>w3svc>parameters>script map>

    make sure it says .php and that its value is C:\PHP\php.exe or php4isapi.dll

      3 months later

      Hi Bastien,
      Did you solve your CGI application error, which said "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:"

      because I am facing the same problem and can't find a solution in this forum.
      Thank you!
      Nynke

        Yeah, I solved it. I downloaded the latest version and placed in a dir under c:\inetpub\wwwroot\php. Then I stopped the server and moved the php.ini file to c:\windows and restarted the server. For some reason, it started working...I am not sure what I did differently this time, but I know that it works...

        go figure.
        hth

        Bastien

          Write a Reply...