[Mapserver-users] Configure Error regex in php

Daniel Morissette morissette at dmsolutions.ca
Sat Feb 8 18:20:37 EST 2003


Is your PHP configured as a CGI?  If you used the --with-apxs switch to
configure your PHP source, then the --with-regex=system switch has no
effect and the internal regex is always selected by PHP.
See http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=252

If the problem persists then please send also your PHP configure options
and the contents of your php_config.h to help us reproduce the problem. 
Or even better, file a bug in bugzilla with that information.

Daniel

Lars Schylberg wrote:
> 
> I have tried for som time now to compile Mapserver with mapscript
> support but I keep getting the
> error that php4 should be compiled with: --with-system-regex
> 
> Our php4.3.0 is compiled with:  --with-regex=system that should be the
> correct way now.
> 
> We have a Red Hat 7.2 machine.
> This is what my configure script looks like for mapserver-3.6.4 configure:
> 
> FLAGS="-O2" OPTIM="-O2" ./configure \
>   --with-proj=../proj-4.4.5 \
>   --with-wmsclient
>   --with-libwww \
>   --with-gdal \
>   --with-php=/home/system/is/build/php-4.3.0
>   --without-tiff \
>   --with-gd \
>   --enable-force-freetype1
> 
> Please help I have been struggling with this for several day and I cant
> figure out
> what I am doing wrong.  I have tried to read all the advice on MapServer
> Wiki's PHP Mapscipt page
> 
> /Lars Schylberg
>



More information about the mapserver-users mailing list