Commit 88459e5af557fee21f476bade249c9c63fd466c2
1 parent
f981c69e
Exists in
master
and in
7 other branches
Melhorias nas mensagens de erro
Showing
1 changed file
with
5 additions
and
3 deletions
Show diff stats
testainstal.php
... | ... | @@ -51,12 +51,12 @@ Free Software Foundation, Inc., no endereço |
51 | 51 | */ |
52 | 52 | error_reporting(E_ALL); |
53 | 53 | echo "<pre>\n"; |
54 | -echo "<b>TESTE DE INSTALACAO DO I3Geo</b><br>\n"; | |
54 | +echo "<b>TESTE DE INSTALACAO DO i3Geo</b><br>\n"; | |
55 | 55 | echo getcwd(); |
56 | 56 | //echo "<br>SERVER_SOFTWARE: ".$SERVER_SOFTWARE."<br>"; |
57 | -echo "<br><br>PHP (a versão deve ser a 5x): "; | |
57 | +echo "<br><br>PHP (a versão deve ser a 5x e menor que 5.3): "; | |
58 | 58 | echo "<br>".phpversion()."<br>\n"; |
59 | -require_once("classesphp/carrega_ext.php"); | |
59 | +include("classesphp/carrega_ext.php"); | |
60 | 60 | $exts = get_loaded_extensions(); |
61 | 61 | echo ms_GetVersion()."<br><br>"; |
62 | 62 | echo "---"; |
... | ... | @@ -93,6 +93,8 @@ if(!file($enderecocgi)) |
93 | 93 | else |
94 | 94 | {echo "O arquivo cgi $enderecocgi do mapserver foi encontrado \n";} |
95 | 95 | |
96 | +echo "Você pode testar o CGI clicando <a href='".$enderecocgi."' target='_blank'>aqui</a>, se o programa responder corretamente, deverá aparecer na tela algo como 'No query information to decode. QUERY_STRING is set, but empty.'\n" ; | |
97 | + | |
96 | 98 | echo "<br>Escrevendo no diretorio temporario..."; |
97 | 99 | $f = @fopen($dir_tmp."/teste.txt",w); |
98 | 100 | @fclose($f); | ... | ... |