[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-grass-general] php4-mapscript



Hi Stephan,

Perhap's this is due to the fact that the php_mapscript.so is loaded twice. I think new php-mapscript package updates php.ini file and then, php_mapscript.so is automticaly loaded with apache startup. If you put in your script something like "enable php_mapscript...", all ms_... functions will be loaded twice and you will see your error message

Lionel

Stephan Holl wrote

Dear Developers,

I apt-geted the available mapserver-packages from the archive and try
to get my mapserver-apps working with the php4-mapscript, but failed:

Lots of warnings are printed when initalizing the php4-mapscript-module:

Warning: Function registration failed - duplicate name - ms_getversion
Warning: Function registration failed - duplicate name - ms_newmapobj in
Warning: Function registration failed - duplicate name - ms_newlayerobj
Warning: Function registration failed - duplicate name - ms_newclassobj
Warning: Function registration failed - duplicate name - ms_newpointobj
Warning: Function registration failed - duplicate name - ms_newlineobj
Warning: Function registration failed - duplicate name - ms_newshapeobj
Warning: Function registration failed - duplicate name -
ms_newshapefileobj Warning: Function registration failed - duplicate name - ms_newrectobj
Warning: Function registration failed - duplicate name - ms_getcwd in
Warning: Function registration failed - duplicate name - ms_getpid in
Warning: Function registration failed - duplicate name - ms_getscale in
Warning: Function registration failed - duplicate name -
ms_newprojectionobj
Warning: Function registration failed - duplicate name - ms_tokenizemap
Warning: Function registration failed - duplicate name - ms_newstyleobj
Warning: Function registration failed - duplicate name - ms_newgridobj
Warning: Function registration failed - duplicate name - ms_geterrorobj
Warning: Function registration failed - duplicate name -
ms_reseterrorlist Warning: Function registration failed - duplicate name - ms_newsymbolobj
Warning: MapScript: Unable to register functions, unable to load in
Unknown on line 0>
my apache-log shows the follwing:
[Tue Feb  1 19:48:54 2005] [notice] child pid 3241 exit signal
Segmentation fault (11)

Does anybody have the same behavior?

Thanks

	Stephan


--
Chargé de mission Sols et Territoire de Bourgogne
CNERTA-ENESAD, 2 rue champs-prevois, batiment grand-champs, 21000 Dijon
03.80.77.28.49
http://www.igcs-stb.org/






Reply to: