PHP mapscript and PHP's regex
Solomon Maina Thuo
solo6259 at YAHOO.COM
Tue Sep 14 05:26:00 PDT 2004
I installed PHP 4.3.8 as a DSO ok.now i come to compiling mapserver 4.2.2
and i get the following output after including the --with-php switch to the
configure script.
checking for location of config.h or php_config.h...
/usr/local/include/php/main/php_config.h
checking whether we have PHP3 or PHP4... -DPHP4
checking whether we should use PHP's regex... yes
configure: error:
!!! The current version of PHP MapScript has some problems with !!!
!!! PHP4's bundled regex. Until we figure the solution to the !!!
!!! problem, the workaround is to compile PHP4 with the system regex !!!
!!! Please re-configure and re-compile PHP4 using --with-regex=system !!!
!!! and then re-configure and re-compile MapServer. !!!
!!! Note that PHP's --with-regex=system works only when PHP is !!!
!!! is configured as a CGI (that is without the --with-apxs and !!!
!!! --with-httpd options). So if you configured your PHP using !!!
!!! --with-regex=system and still get this error then make sure you !!!
!!! configured PHP as a CGI.
now i got the workaround solution for keeping my DSO so that i run only
PHPMapScript scripts as a CGI and i run others as PHP module. but how do i
avoid this error and i don't want to compile php as a CGI module?
More information about the MapServer-users
mailing list