|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17413 Security Alert
Submitted: 2002-05-24 11:19 UTC Modified: 2002-05-24 11:42 UTC
From: tenchi_no_chikara at msn dot com Assigned:
Status: Not a bug Package: PWS related
PHP Version: 4.2.1 OS: WIN98 SE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: tenchi_no_chikara at msn dot com
New email:
PHP Version: OS:


 [2002-05-24 11:19 UTC] tenchi_no_chikara at msn dot com
When ever I try to look at any php file on my PWS, I get 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.

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.


I've tried uninstalling and reinstalling PHP many times yet it still won't work. I had PHP 4.1.1 earlier and it worked fine. Any suggestions on what I should do?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-24 11:42 UTC]
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit

Thank you for your interest in PHP.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Sep 27 14:01:25 2023 UTC