PHP CGI cannot be accessed directly
Status: Beta
Brought to you by:
chulinn
I get this error when I try to access webplan.cgi:
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.
How to overcome this.
Regards
T.Harikrishnan
harikrishnan@pamho.com
Logged In: YES
user_id=741666
Hello Harikrishnan,
this is a configuration issue of your PHP installation.
Try changing in the php.ini:
cgi.force_redirect = 0
This should fix your problem.
Hope that helps,
Mark