[Mapserver-users] mapscript module crashes if ms_newshapefileobj is used

Krung Saengpole krung at cad.go.th
Wed Jun 18 14:37:21 EDT 2003


Michael,

You have to use mapserver with the same version of PHP as your PHP version on your machine. So, you have to download something like mapserver-xxxx-php4.3.2-gd2.zip. Notice php version in file name.

HTH
Krung.

---------- Original Message ----------------------------------
From: Michael Härtel <mhaerte1 at gwdg.de>
Date:  Wed, 18 Jun 2003 19:48:18 +0200

>Dear List,
>
>as soon as i use ms_newshapefileobj("path\filename",-1), the module 
>php_mapscript_37.dll crashes. Apache and php themselves are still operable.
>
>It doesn't depend on the type of shapefile, the number of entries or the 
>size of the file. It happens every time.
>
>I use Apache 2.43, PHP 4.3.2, Windows XP Pro and MapServer 3.7 (from 
>mapserver-3.7-win32-php4.3.0-gd2.zip) with php_mapscript_37.dll 
>($Revision: 1.143 $ $Date: 2003/02/04 15:39:43 $).
>
>mapscript is parsed by the cgi-version of php and the mapscript module 
>is defined as "extension=php_mapscript_37.dll" in php.ini.
>The extension is then loaded from the phtml-skript with 
>dl(php_mapscript_37.dll).
>
>Can i fix this error somehow?
>
>thx,
>
>M. Härtel
>-- 
>Michael Härtel
>Georg-August University Goettingen
>Department of Geography
>Cartography, GIS & Remote Sensing Section
>project Notebook University, Internet Map Service
>Goldschmidtstr. 5                           Tel.: +49 (0)551/39-12671
>37077 Göttingen                             Fax : +49 (0)551/39-8020
>http://www.geogr.uni-goettingen.de/kuf/
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>






More information about the mapserver-users mailing list