Ola, Eu comecei a estuda PHP! :)
E quando fui testa meu primeiro exemplo de pau!! O arquivo em PHP eh bem simples: [root@lnx cgi-bin]# cat fir.php <html> <head><title>Aprendendo PHP</title></head> <body> <?php echo "Primeiro Script"; ?> </body> </html> [root@lnx cgi-bin]# Entao eu tento acessa-lo com o lynx: lynx http://192.168.151.1/cgi-bin/fir.php E recebo o seguinte erro: 500 Internal Server Error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Olhando nos erro.log do apache aparece: [Sun Feb 17 18:27:20 2002] [error] (8)Exec format error: exec of /var/www/cgi-bin/fir.php failed [Sun Feb 17 18:27:20 2002] [error] [client 192.168.151.1] Premature end of script headers: /var/www/cgi-bin/fir.php O que esta errado ?? Pq da esse erro ?? O que tem de errado com meu Apache ?? Alguma config q devo fazer ?? Algo errado ?? Mmuito Oobrigado. t+ [ ]'s ------------------------------------------ Use o melhor sistema de busca da Internet Radar UOL - http://www.radaruol.com.br Assinantes em 17/02/2002: 2232 Mensagens recebidas desde 07/01/1999: 154964 Historico e [des]cadastramento: http://linux-br.conectiva.com.br Assuntos administrativos e problemas com a lista: mailto:[EMAIL PROTECTED]
