RE: [PHP-WIN] Why am I getting a CGI error?
| From: | Flint Doungchak | Date: | Sat, 11 Aug 2001 19:54:59 +0000 |
| Subject: | RE: [PHP-WIN] Why am I getting a CGI error? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8785@lists.php.net to get a copy of this message | ||
Phil,
Thanks for your response. I have gone through the install.txt and made the
configuration changes. I think you should know that this CGI Misbehaving
doesn't occur regularly nor on a consistant file. I have the checked the
check file exists box, and I still get the error (the Misbehaving one), once
in a while, rather than the 404 error I expect to get (probably meaning the
page is found but something weird happened). I'd say the error might pop up
1 out of 100 page loads.
It looks like it only occurs on pages with MS SQL (not MySQL) db connections
(so I'm going to check with Frank to see if has any ideas) AND only if the
Header (Location: xx/xxx.html) function is used in combination. Gathered
from others, it doesn't seem to happen in Apache, so it might just be IIS,
but the MS KB doesn't have anything at all.
There are a lot of people reporting this one on the windows list (some who
have the PHP.exe or other extentions with wrong permissions or re-directing
to a page that doesn't exist). I orginially thought as you did, but, in
Jeff's case, ours, and many others, this is not true. So there is something
going on here and I don't know what it is.
I did run php.exe -i on the command line, and it seems OK. I double checked
permissions on all the modules I am using, php.exe and php4dts.dll just in
case. Nada.
Anyhoo, I'm going to keep working on it. Any ideas from anyone else would be
great.
Thanks for all of the effort.
-Flint
-----Original Message-----
From: Phil Driscoll [mailto:phil@dialsolutions.co.uk]
Sent: Saturday, August 11, 2001 4:33 AM
To: Flint Doungchak; 'Jeff Howard'; php-windows@lists.php.net
Subject: Re: [PHP-WIN] Why am I getting a CGI error?
On Friday 10 August 2001 20:26, Flint Doungchak wrote:
> It seems that a lot of us are getting this error and nothing has been
> resolved. I sent a bug report with information from my IIS logs.
There is no bug here - it is just incorrect configuration of IIS and/or
security settings on your php script/php.exe/php4ts.dll/php extensions
and/or
the fact that the file you think you are accessing doesn't actually exist in
the place you think it does.
install.txt takes you through the motions of getting to the bottom of the
problem.
Cheers
--
Phil Driscoll