Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Security Alert! The PHP CGI cannot be accessed directly.

Discussion in 'Security' started by WebHostPro, Nov 30, 2005.

  1. WebHostPro

    WebHostPro Well-Known Member

    Jul 28, 2002
    Likes Received:
    Trophy Points:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    All php pages are getting this error on one server.

    I restarted apache and am updating cpanel, any other ideas on what to fix?

    Just trouble shooting now...

    Thanks, :)

    Here is the full 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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 WebHostPro, Nov 30, 2005
    Last edited: Nov 30, 2005
  2. NNNils

    NNNils Well-Known Member

    Sep 17, 2002
    Likes Received:
    Trophy Points:
    We had this issue back in august, it was fixed by recompiling apache.

    Today we had it again.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice