Hallo,
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
Hast du nicht gesagt du hättest den IIS?
Wie dem auch sei, das scheint nach wie vor der selbstinstallierende Version vom PHP zu sein (ich habe mal das unter PWS versuchtk, ist aber auch nciht gegangen).
Bzw. noch andere Möglichkeiten:
Schau mal nach was bei dir in der php.ini steht:
-----------------
; The root of the PHP pages, used only if nonempty.
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
; if you are running php as a CGI under any web server (other than IIS)
; see documentation for security issues. The alternate is to use the
; cgi.force_redirect configuration below
doc_root =
-----------------------
doc_root = sollte als bei dir leer sein.
-----------------------
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
; most web servers. Left undefined, PHP turns this on by default. You can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
; cgi.force_redirect = 1
-----------------------
Du solltest diese Einstellungen anpassen.
Wenn all das nciht geht, solltest du dir wirklich die binary Version (als *.zip) herunterladen. Wenn du es entpackst gibts auch eine install.txt dabei, dort ist eigentlich recht gut beschreiben, wie man php unter IIS installiert.
Sonst kann ich dir nicht mehr viel weiterhelfen, da ich den IIS nicht an meinem Rechner habe. (Natürlich gibt's noch die Alternative Apache+PHP)
Grüße
Thomas