Security Alert! The PHP CGI cannot be accessed directly

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


Joined: 06 Aug 2003
Posts: 4

PostPosted: Wed Aug 06, 2003 8:32 pm    Post subject: Security Alert! The PHP CGI cannot be accessed directly Reply with quote

i don't know how to work around this.

they odn't really detail it that good.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Aug 07, 2003 3:21 pm    Post subject: Re: Security Alert! The PHP CGI cannot be accessed directly Reply with quote

Kpg wrote:
i don't know how to work around this.

they odn't really detail it that good.

Please conform exactly to the instructions in http://www.aprelium.com/abyssws/php.html especially the ones related to the declarartion of REDIRECT_STATUS environment variable. This variable name must be written in capital letters without any spaces (no spaces before or after).
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Kpg
-


Joined: 06 Aug 2003
Posts: 4

PostPosted: Thu Aug 07, 2003 6:50 pm    Post subject: Reply with quote

I did the redirect status thing when from when i read the instructions for installing PHP on the abyss webserver. It din't clear up the problem.

Plus I also set the cgi.force_redirect variable to 0 from php.net's instructions. but i still get the error.

edit: I found the problem.
The php.ini I was editing was in windows when there was one in the php root folder. So It's fixed.
Back to top View user's profile Send private message
yalrighty
-


Joined: 24 Jun 2003
Posts: 99

PostPosted: Sun Aug 10, 2003 5:55 am    Post subject: Reply with quote

My friend had this problem the other day - we found the solution too.

Uninstall php as this error seems to happen if you installed php via the Windows installer and I'll bet money that this is also the case. Now, download the complete zip archive of php (not the windows installer!) from here --> http://ca2.php.net/get/php-4.3.2-Win32.zip/from/this/mirror

Unzip that to c:\php\ and your problem should be solved.
Back to top View user's profile Send private message Visit poster's website
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