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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
15 + 42 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC