php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20391 Problem in PHP or it's documentation which affects MANY developers!
Submitted: 2002-11-12 09:33 UTC Modified: 2002-11-12 11:19 UTC
From: EasyEdit at go dot ro Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.2.3 OS: Windows XP
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: EasyEdit at go dot ro
New email:
PHP Version: OS:

 

 [2002-11-12 09:33 UTC] EasyEdit at go dot ro
After installing PHP 4.2.3 as CGI under IIS / Windows XP, I can no longer access my PHP scripts. Any scripts yields the message bellow.

I have tried for about 1 hour to modify the docroot, user_dir and cgi.force_redirect settings in PHP.INI, in various ways, and reboot the server to make sure the configuration was taken into account.

I have also searched the web - it seems that a lot of people have the same problem, but I didn't found any working answer.

No combination of these variables worked. My scripts don't work, and I can't do development work on the machine.

My request to you is to explain in the documentation exactly what I have to do to make things work in such a situation.

Thank you!

The PHP error message follows.

--- Message yielded by all PHP scripts -----------------
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.
------------------------------------------------------

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-12 11:19 UTC] sniper@php.net
Sorry, but 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 http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 21:01:27 2024 UTC