PHP - servidor IIS y PHp

 
Vista:

servidor IIS y PHp

Publicado por omar (4 intervenciones) el 07/08/2002 13:31:21
tengo el siguiente problema: he instalado el interprete de php en un servidor IIS, y necesito realizar un consulta a una base de datos de ACCESS via odbc. Cuando ejecuto el codigo 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."

Al ejecutar el script en forma local en un servidor apache funciona perfectamente. supongo que el error sera de configuracion pero no encuentro la solucion. si alguin puede ayudarme .Gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder