OK here's the story. I've read the FAQs, been through the mail archive 
and read every solution, including those which say to read the 
install.txt, which I've done, but I still get:

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

I'm running Win NT 4 SP6a, IIS4. I installed PHP4 in C:\PHP from this 
link on http://ch.php.net/downloads.php:

* PHP 4.0.6 installer [755Kb] - 23 June 2001
(CGI only, MySQL support built-in, packaged as Windows installer to 
install and configure PHP, and automatically configure IIS, PWS and 
Xitami, with manual configuration for other servers. N.B. no external 
extensions included)

My test.php file in C:\InetPub\wwwroot contains:

  <?php phpinfo();?>

In the MS Management Console, under Default Web Site, Properties dialog, 
Home Directory tab, Configuration button, App Mappings dialog, Ihave 
these settings for '.php'
- 'Executable' field C:\PHP\php.exe,
- 'Extension' field .php,
- 'Method exclusions' empty,
- 'Script Engine'  - ticked/checked,
- 'Check that file exists' - ticked/checked.

In C:\PHP if I run:

   php.exe -i

I get a screen full of html codes (the output of the phpinfo() function) 
- php.exe OK. I did 'php.exe -i > phpinfo.html' just to be sure, got a 
37kB page of the info I should see with my test.php file.

File permissions for ISUR_<machinename> are:

C:\InetPub\wwwroot\test.php, Read (RX)
C:\PHP\php.exe, Read (RX)
C:\PHP\php4ts.dll, Read (RX)
C:\WINNT\php.ini, Read (RX)

Directory permissions for ISUR_<machinename> are

C:\PHP, Read (RX)
C:\PHP\sessiondata, Add & Read (RWX)
C:\PHP\uploadtemp, Add & Read (RWX)

No php extensions are being loaded.

Any ideas at all?





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to