note 20852 added to install.iis
| From: | chip dot hankley at php2 dot chek dot com | Date: | Thu, 18 Apr 2002 18:53:27 +0000 |
| Subject: | note 20852 added to install.iis | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29532@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.
--
http://www.php.net/manual/en/install.iis.php
http://master.php.net/manage/user-notes.php?action=edit+20852
http://master.php.net/manage/user-notes.php?action=delete+20852
http://master.php.net/manage/user-notes.php?action=reject+20852