Logo Hardware.com.br
marlonfuchs
marlonfuchs Membro Junior Registrado
164 Mensagens 0 Curtidas

problemas PHP e XITAMI

#1 Por marlonfuchs 03/12/2002 - 17:08
Instalei o Xitami server e o php em um windows 98, e quando tento executar http://localhost/phpinfo.php, aparece a seguinte mensagem
(ja criei o arquivo phpinfo.php para retornar as informacoes).

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.

gostaria de saber o que eu faco para poder rodar o php corretamente.

grato
marlon fuchs
Snap
Snap Membro Junior Registrado
107 Mensagens 1 Curtida
#2 Por Snap
03/12/2002 - 22:33
Caro amigo Marlonfuchs,


Infelizmente não conheço sobre a instalação do PHP com o Xitame, mas conheço o funcionamento do PHP com o Apache (que é o melhor servidor para se trabalhar com o PHP).

Por que vc não tenta rodar seus scripts com o Apache ao invés de usar o Xitame???

A instalação é facílima e vc logo poderá começar a rodar seus scripts.

Se vc não souber fazer a instalação desses, me envie um email que eu terei o prazer de ajudar. :wink: :wink:

Fico aguardando...

Jorge Paulo
jorgepaulo_s@ig.com.br
<?php
print ("Olá Mundo!!!");
?>
© 1999-2024 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal