php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21051 problem with with force-cgi-redirect for apache server
Submitted: 2002-12-16 13:29 UTC Modified: 2003-01-02 18:51 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: yminouch at hotmail dot com Assigned:
Status: No Feedback Package: Apache related
PHP Version: 4.2.3 OS: win2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yminouch at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-12-16 13:29 UTC] yminouch at hotmail dot com
This is the error i have on the page, also I am running the apache server and the funny thing is an error apears when i add the following module
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
--------------------the error on the page-------------------
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.
--------
Any help please

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-16 13:30 UTC] derick@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip
 [2003-01-02 18:51 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2013-02-05 11:32 UTC] rajandran at gmail dot com
Hi,

Iam running apache server in CentOS 6.3 platform  with 16GBram, Quadcore 
Processor and running wordpress top of it. When iam looking into the top command 
iam observing that PHP-CGI processed killed and site is not loading until the 
httpd restart is fired on the command line. Please find the logs below

[Tue Feb 05 03:30:33 2013] [notice] child pid 22821 exit signal Segmentation 
fault (11)
[Tue Feb 05 03:30:34 2013] [notice] child pid 21051 exit signal Bus error (7)
[Tue Feb 05 03:31:23 2013] [notice] child pid 23307 exit signal Segmentation 
fault (11)
[Tue Feb 05 03:31:28 2013] [notice] child pid 22867 exit signal Bus error (7)
[Tue Feb 05 03:31:42 2013] [notice] child pid 22832 exit signal Segmentation 
fault (11)
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jan 20 06:01:23 2020 UTC