Hur får jag php att funka på win 2003 servern? Hejsan,Php problem
får detta fel mess
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.
For more information as to why this behaviour exists, see the manual page for CGI security.
For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.Sv: Php problem
I installationsmanualen [1] så står det att cgi.force_redirect måste vara 0 när IIS används. Du hittar denna inställning i php.ini.
Länkar:
[1] http://www.php.net/manual/en/install.windows.iis.php
http://www.php.net/manual/en/faq.installation.php#faq.installation.forceredirect