View previous topic :: View next topic |
Author |
Message |
Kpg -
Joined: 06 Aug 2003 Posts: 4
|
Posted: Wed Aug 06, 2003 8:32 pm Post subject: Security Alert! The PHP CGI cannot be accessed directly |
|
|
i don't know how to work around this.
they odn't really detail it that good. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Aug 07, 2003 3:21 pm Post subject: Re: Security Alert! The PHP CGI cannot be accessed directly |
|
|
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 |
|
 |
Kpg -
Joined: 06 Aug 2003 Posts: 4
|
Posted: Thu Aug 07, 2003 6:50 pm Post subject: |
|
|
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 |
|
 |
yalrighty -
Joined: 24 Jun 2003 Posts: 99
|
Posted: Sun Aug 10, 2003 5:55 am Post subject: |
|
|
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 |
|
 |
|