[mapserver-users] Installing PHP with the --with-system-regex flag.

Daniel Morissette morissette at dmsolutions.ca
Tue Jun 4 17:56:50 EDT 2002


Jeff,

Not sure what the exact issue is in your case, but MapScript won't work
with PHP as an Apache module anyway, so you should compile it as a CGI,
and then this won't be an issue any more.  

See: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI

Daniel


Jeff Berry wrote:
> 
> This is a bit off topic, but I hope someone can point me in the right
> direction.  I'm having trouble getting php to run with
> the --with-system-regex flag.  Compiling PHP 4 with --with-system-regex
> breaks my web server, Apache 2.0 running on RedHat 7.2.  When trying to
> restart Apache I get the following error...
> 
> Cannot load /usr/modules/libphp4.so into server: /usr/modules/libphp4.so:
> undefined symbol: php_regcomp
> 
> So, I'm not sure what is happening here.  Since I've trying to use the
> system regex, is libphp4.so looking for regcomp and not finding it on my
> system? Or is it trying to find php_regcomp?  Compiling using the PHP regex
> works fine, but when I go to compile the mapserver it give the message
> instructing me to use the system regex.  Very frustrating.
> 
> Jeff Berry
> Erlandsen & Associates
> P.O. Box 2029
> Chelan, WA 98816
> (509) 682-4189
> jeffb at erlandsen.com



More information about the mapserver-users mailing list