Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/02/2003, 02:53
antirco
 
Fecha de Ingreso: febrero-2003
Mensajes: 204
Antigüedad: 21 años, 2 meses
Puntos: 2
Fallo en servidor Web local con PHP

He instalado el PWS que viene en el CD de instalacion de windows.
Luego he instalado "php-4.3.0-installer" de forma Standard, y todo por defecto
Destination folder = c:\PHP
SMTP server = localhost
type of http server = Microsoft PWS on Windows 9x or ME

He editado el directorio, y he seleccionado la casilla de ejecutar

Luego he cambiado en el archivo C:\windows\php.ini la siguiente linea;
; cgi.force_redirect=1
por
; cgi.force_redirect=0
y guardo cambios

Pero cuando ejecuto un hatml que ejecuta un archivo php me sale el siguiente 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.
-----------------------------------------

Que hago mal ?. o que no hago para que funcione bien ?

Josep