behaving CGI message
| From: | Aaron Nauman | Date: | Tue, 16 Oct 2001 21:04:44 +0000 |
| Subject: | behaving CGI message | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9875@lists.php.net to get a copy of this message | ||
Installed PHP with no problem and did some preliminary testing. Installed
phpMyAdmin and got that running also. Tighted down permissions and
somewhere along the way starting getting the CGI misbehaving error message.
Slowly backed things out to the point that Everybody has Full Control on
machine. Still getting the error message. Fiddled around for a while and
finally went through entire install procedure again.
php -i works fine, but still get cgi error.
To try to get some feedback, I set up a perl script to exec PHP. It does
not appear to be a permissions problem, b/c the following commands in the
perl script work fine
print
php -i;
print php d:\\inetpub\\cgi-bin\\test.php;
But accessing the php script directly
http://koz/cgi-bin/test.php
still gives me the cgi error.
I have tried different things in the test.php
- simple html message
- <?php phpinfo(); ?>
Same result.
If I remove the App Mapping I get the contents of test.php in the browser
with no problem.
I have tried every suggestion that I could find. I've read the FAQs, been
through the mail archive, including those which say to read the
install.txt, which I've done about 10 times.
I've done the manual install (twice from scratch) on IIS 4.0 on NT SP6a. No
extensions loaded.
I have no clue what else to try. Any suggestions would be greatly
appreciated.