PHP/Mapscript 4.6.1 DSO causes Apache to segfault.

Toomas Aas toomas.aas at RAAD.TARTU.EE
Thu Sep 29 05:24:12 PDT 2005


Hello!

I'm currently running the following software versions on FreeBSD 5.3

MapServer 4.2.5
PHP 4.3.10
PROJ 4.4.9
GDAL 1.2.1
GD 2.0.33
FreeType2 2.1.7

MapServer and PHP/Mapscript were configured with the following command:

./configure \
     --with-freetype=/usr/local/bin/freetype-config     \
     --with-gd=/usr/local \
     --with-eppl \
     --with-proj=/usr/local \
     --with-ogr=/usr/local/bin/gdal-config \
     --with-gdal=/usr/local/bin/gdal-config \
     --with-php=/usr/local/include/php

I have two instances of PHP on this machine - PHP CGI which is used for 
Mapscript and mod_php which is used for everything else. PHP CGI is 
configured with system regex and mod_php is configured with PHP's own 
regex. Everything seems to be working fine.

I downloaded Mapserver 4.6.1 and ran exactly the same configure command, 
followed by gmake. Adding the resulting php_mapscript.so to PHP 
extensions causes Apache to segfault immediately on load. I tried to 
read through the documentation and browse the list archives, but I can't 
seem to figure out what I should do differently to produce a working 
php_mapscript.so. The mapserv CGI, btw, works OK.

-- 
Toomas Aas --------------------------------------------------------
|arvutivõrgu peaspetsialist | head specialist on computer networks|
|Tartu Linnakantselei       | Tartu City Office                   |
----------------------------------------------------- +372 736 1274



More information about the MapServer-users mailing list