|
-
Nov 20th, 2002, 12:47 AM
#1
Thread Starter
Fanatic Member
Php Running Error (Solved)
hi
i install php from php.net
but when i run my page i get this 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.
i also set the status for cgi on php.ini like this:
; cgi.force_redirect= 0
but i still get error
plz any one tell me wot i do for it.
Last edited by shahid; Nov 23rd, 2002 at 04:55 AM.
-
Nov 20th, 2002, 10:38 AM
#2
Lively Member
you need to delete the ; in front of it
Just Imagine what you can do with the power of php.
257 Tutorials and counting.
529 Snippets and growing.
Add yours today @
SnippetLibrary.com
-
Nov 20th, 2002, 02:13 PM
#3
Stuck in the 80s
What OS are you trying to run this on and which download from php.net did you select?
-
Nov 21st, 2002, 12:16 AM
#4
Thread Starter
Fanatic Member
thx for replay
ok budy i try to delete the ; sign and try again...
-
Nov 21st, 2002, 12:19 AM
#5
Thread Starter
Fanatic Member
thank you for replaying
i m using windows98 with Personal web server.
php version 4.2
i download the installer from www.php.net/downloads
-
Nov 22nd, 2002, 10:50 PM
#6
Thread Starter
Fanatic Member
Originally posted by scoutt
you need to delete the ; in front of it
I do this but i still get the same.
i try this
;cgi.force_redirect=0
and also
cgi.force_redirect=0
but the same error message i get.
-
Nov 22nd, 2002, 11:06 PM
#7
Stuck in the 80s
What all did you change when you installed it/set it up?
There's not much you have to change. Are you sure you didn't mess something up in the installation?
-
Nov 23rd, 2002, 01:15 AM
#8
Thread Starter
Fanatic Member
ye i installed properly
at installation time it's ask about server
what server u installed i select pws
here is the link from where i download the file
http://www.php.net/get_download.php?...-installer.exe
if u have a installation file for win98,pws plz
attach here
thx
-
Nov 23rd, 2002, 04:08 AM
#9
Thread Starter
Fanatic Member
i remove this ;
;cig.force_redirect=0
now it's shows as
cig.force_redirect=0
now i m getting this error
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
wot do u say about it?
-
Nov 23rd, 2002, 04:54 AM
#10
Thread Starter
Fanatic Member
hi the problem has been solved now php is running
thnak you so much
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|