Hey all.

I am hitting upon a weird problem with PHP MapScript: it will load without issue, but crashes when trying to open a mapfile.

/var/www/cgi-bin/php: symbol lookup error: /usr/lib/php/extensions/php_mapscript.so: undefined symbol: php_regcomp
Premature end of script headers: php

I've hit up Google, but only find a few references and none of them solved.

I tried compiling MapServer and MapScript in 5.0.0, 5.6.4, and 5.4.2 and I get this same result in every case. So it's not something very version related.

Given the name of the error, I was wondering if it's something in how PHP was compiled. Last I heard, the advice was to use --with-regex=system which I have.

PHP 5.2.14
./configure --prefix=/usr --with-libdir=lib64 --with-config-file-path=/etc/apache --sysconfdir=/etc --enable-force-cgi-redirect --with-regex=system --with-freetype-dir=/usr --with-openssl --with-zlib --with-curl --enable-ftp --with-pgsql --with-mysql --with-mysqli --enable-dbase --enable-soap --with-gettext --enable-mbstring=all --enable-mbregex --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr

Any thoughts on this?

--
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
   Network+   Server+   A+   Security+   Linux+
   PHP   PostgreSQL   MySQL   DHTML/JavaScript/AJAX

"No one cares if you can back up — only if you can recover."
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to