RE: [PHP-INST] Security Alert when trying to access a php file
| From: | Bob G | Date: | Mon, 04 Aug 2003 08:49:47 +0000 |
| Subject: | RE: [PHP-INST] Security Alert when trying to access a php file | ||
| References: | 1 | Groups: | php.install php.windows |
| Request: | Send a blank email to php-windows+get-21008@lists.php.net to get a copy of this message | ||
Jack. I had exactly the same problem for weeks. Eventually I installed
Apache and the problem went away.
Regards
Bob
-----Original Message-----
From: Jack [mailto:nedcor4@nedcor.com.hk]
Sent: Monday, August 04, 2003 9:25 AM
To: php-install@lists.php.net; php-windows@lists.php.net
Subject: [PHP-INST] Security Alert when trying to access a php file
Dear all
I had install PHP to my Win2k Server which running IIS 5.0.
I had copied the 'php.ini-dist' to c:\winnt, php4ts.dll to
c:\winnt\system32.
Also had configurated the App Tab inside Internet Service manager.
Now when i try to access the php file through intranet, it keep prompts me
the following error :
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 <http://php.net/security.cgi-bin>.
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 <http://php.net/install.windows>."
I had check the php.ini which inside the c:\winnt, and turn the
cgi.force_redirection from 1 to 0, but still showing the same warning
again!!!
Can someone please tell me what to do?
Thx
Jack
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php