note 20852 deleted from install.iis by betz

From: Date: Fri, 14 Mar 2003 00:20:12 +0000
Subject: note 20852 deleted from install.iis by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-45274@lists.php.net to get a copy of this message
4.12 Windows / IIS hint: The windows binary distribution at 4.12 has a setting that disables direct access of the CGI executable. On trying to load a page, you get the following error: Security Alert! PHP CGI cannot be accessed directly. The note specifies that you can safely set cgi.force_redirect=0 in php.ini, but does not tell you where to do this. Simply put the line cgi.force_redirect=0 at the top of the PHP.ini file (I put it on line 3), and it works.

« previous php.notes (#45274) next »