Click to See Complete Forum and Search --> : install php 4.2.2. on win 2000


prio
08-27-2002, 05:22 AM
i'm going to reinstall my PHP 4.0.6 with 4.2.2.
i choose binary installation from http://www.php.net
and then i follow the installation procedure.
But then i have this error when i'm running phpinfo().
--------------------------
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.

---------------------------
after that i change this line at php.ini
force-cgi-redirect = 0
and it's work ..
i can see the php.ini but my script to redirect some pages
using header location http://bla...bla..bla.. not working at all..
could someone help me??

thank u so much
prio

www.prio.mysite.de
Prioritus "Rio Uniwaly" Yotto Putera
prio@satelindo.co.id

jerdo
08-28-2002, 12:12 PM
I've said it before on here, but Don't use the exe installation of php. Use the zip file.

prio
08-29-2002, 07:47 AM
i have already use the zip file..
but i don't know why it doesn't work when i try to redirect to another page using header location ..

prioritus "rio uniwaly" yotto putera