PHP Error after install

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Aeonandromere
-


Joined: 26 Jul 2003
Posts: 7

PostPosted: Sat Jul 26, 2003 4:52 pm    Post subject: PHP Error after install Reply with quote

The error is:

====================================================
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 Ideas what to do? I followed the PHP install directions on apreliums main site for installing php...
Back to top View user's profile Send private message
datwig
-


Joined: 26 Jan 2003
Posts: 85

PostPosted: Sat Jul 26, 2003 5:01 pm    Post subject: Reply with quote

Did you set the User CGI Environment Variables?

Server config > advanced > CGI parameters

there is a section called User CGI Environment Variables click "add..."

Name = REDIRECT_STATUS and the value is 200
Back to top View user's profile Send private message AIM Address
Aeonandromere
-


Joined: 26 Jul 2003
Posts: 7

PostPosted: Sat Jul 26, 2003 5:05 pm    Post subject: Reply with quote

Yes I did that but I seemed to have fixed it now there was a space before the name :P unny how the simplest errors can gum up everything...
Back to top View user's profile Send private message
datwig
-


Joined: 26 Jan 2003
Posts: 85

PostPosted: Sat Jul 26, 2003 5:16 pm    Post subject: Reply with quote

in programming, a you have to spell EVERYTHING EXACTLY correct. sigh
Back to top View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group