Quando entro na página http://localhost/i3geo/testainstal.php aparece a seguinte mensagem:
TESTE DE INSTALACAO DO I3Geo
/var/www/i3geo PHP (a versão deve ser a 5x): 5.2.10-2.2 Warning: dl() [function.dl]: Unable to load dynamic library '/usr/lib/php5/20060613/php_mapscript.so' - /usr/lib/php5/20060613/php_mapscript.so: cannot open shared object file: No such file or directory in /var/www/i3geo/classesphp/carrega_ext.php on line 117 Fatal error: Call to undefined function ms_GetVersion() in /var/www/i3geo/testainstal.php on line 61
Alguém conhece a solução para esse problema?
Autor: Rodrigo Souza

22 comentários
5.2.10-2.2 MapServer version 5.4.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE ---
Extensoes:
Obs: não está instalado a gd2 - o que não é muito crítico....
array(49) {
[0]=>
string(4) "date"
[1]=>
string(6) "libxml"
[2]=>
string(7) "openssl"
[3]=>
string(4) "pcre"
[4]=>
string(4) "zlib"
[5]=>
string(6) "bcmath"
[6]=>
string(3) "bz2"
[7]=>
string(8) "calendar"
[8]=>
string(5) "ctype"
[9]=>
string(3) "dba"
[10]=>
string(3) "dom"
[11]=>
string(7) "session"
[12]=>
string(6) "filter"
[13]=>
string(3) "ftp"
[14]=>
string(7) "gettext"
[15]=>
string(4) "hash"
[16]=>
string(5) "iconv"
[17]=>
string(4) "json"
[18]=>
string(8) "mbstring"
[19]=>
string(10) "mime_magic"
[20]=>
string(5) "posix"
[21]=>
string(10) "Reflection"
[22]=>
string(8) "standard"
[23]=>
string(5) "shmop"
[24]=>
string(9) "SimpleXML"
[25]=>
string(4) "soap"
[26]=>
string(7) "sockets"
[27]=>
string(3) "SPL"
[28]=>
string(4) "exif"
[29]=>
string(7) "sysvmsg"
[30]=>
string(7) "sysvsem"
[31]=>
string(7) "sysvshm"
[32]=>
string(9) "tokenizer"
[33]=>
string(4) "wddx"
[34]=>
string(3) "xml"
[35]=>
string(9) "xmlreader"
[36]=>
string(9) "xmlwriter"
[37]=>
string(3) "zip"
[38]=>
string(14) "apache2handler"
[39]=>
string(2) "gd"
[40]=>
string(6) "mcrypt"
[41]=>
string(5) "mysql"
[42]=>
string(6) "mysqli"
[43]=>
string(3) "PDO"
[44]=>
string(9) "pdo_mysql"
[45]=>
string(9) "pdo_pgsql"
[46]=>
string(5) "pgsql"
[47]=>
string(7) "suhosin"
[48]=>
string(9) "MapScript"
}
Existe o ms_configura.php? Sim
Incluindo... dir_tmp = /var/tmp/ms_tmp
temasdir = /var/www/html/i3geo/temas
temasaplic = /var/www/html/i3geo/aplicmap
locmapserv = /cgi-bin/mapserv
locaplic = /var/www/html/i3geo
locsistemas =
locidentifica =
localizando o cgi...
O arquivo cgi localhost/cgi-bin/mapserv do mapserver foi encontrado Escrevendo no diretorio temporario...ok
Existe o geral1.map? Nao
Erro. Saindo...geral1.map não encontradoExiste o menutemas.xml?
Erro. Saindo...menutemas.xml não encontradoLendo /var/www/html/i3geo/menutemas/menutemas.xml Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "/var/www/html/i3geo/menutemas/menutemas.xml" in /var/www/i3geo/testainstal.php on line 119 Carregando o map_file geral1... Warning: [MapServer Error]: msLoadMap(): (/var/www/html/i3geo/aplicmap/geral1.map)
in /var/www/i3geo/testainstal.php on line 125 Warning: Failed to open map file /var/www/html/i3geo/aplicmap/geral1.map in /var/www/i3geo/testainstal.php on line 125 E agora..desenhando o mapa (se o mapa não aparecer é um problema...
verifique os caminhos no ms_configura.php e no geral1.map ou geral1windows.map): Fatal error: Call to a member function draw() on a non-object in /var/www/i3geo/testainstal.php on line 127