1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

PHP CGI error?!? arg I dunno what's going on

Discussion in 'Web & Email' started by dirkraft, Jun 24, 2004.

Thread Status:
Not open for further replies.
  1. dirkraft

    dirkraft Thread Starter

    May 24, 2004
    I'm not too much of a php buff (I don' know anyting) but I know it was working and for some reason now it's not. I was messing with some security settings and cleaning up my Inetpub\wwwroot folder and eventually I noticed my php page wasn't functioning anymore.

    I'm running WinXP Pro, and just reinstalled IIS 5.1. I got the php binary from php.net and installed it (ver 4.3.7). I gave IUSR Read & Execute privileges to php.exe and php4ts.dll and IUSR Read privileges to sessiondata and uploadtemp directories, which is what the installer said I would probably have to do for all practical purposes.

    The security settings on the wwwroot files all have IUSR access privileges.

    The .php file in question uses some output generated into an .xml file by a BitTorrent client (Azureus). The first time I put all the chunks together it worked fine, the php script executed correctly, drew data from the xml file and displayed it neatly formatted the way it was supposed to. Now all I get is this...

    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

    As little as I know, it seems obvious that the error is that no "HTTP headers" are being "returned".

    I really don't know too much about php yet. I figure I'm not doing anything grossly complicated so the error must be pretty basic.

    The php binary automatically puts in cgi.force_redirect = 0 into c:\windows\php.ini ; so that's not a problem. I figure that the rest of the php.ini is ok since it's exactly the same as it was the first time around, when my fancy .php page was working.

    As always, any input is appreciated.
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/242485

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice