[Mapserver-users] RH 7.3 & PHP 4.3.1 with regex enabled issue - Mapserver configure

Daniel Morissette morissette at dmsolutions.ca
Tue Feb 25 13:35:54 EST 2003


> "Phillip C. Roberts" wrote:
> 
> I am building a system with RH 7.3, Apache 2.0 and PHP 4.3.1.  I have,
> in compiling my PHP, used --with-regex=system.  But, when I compile
> mapserver I continue to get the regex error.....
> 
> Here is the output:
> 
> checking for location of config.h or php_config.h...
> /usr/include/php/main/php_config.h
> checking whether we have PHP3 or PHP4... -DPHP4
> checking whether we should use PHP's regex... yes

I would suggest that you first make sure that the file
/usr/include/php/main/php_config.h does correspond to the PHP that you
are trying to compile against.

Also make sure that your PHP is compiled as a CGI, i.e. you should not
include the --with-apxs configure option when you configure your PHP. 
For the full story on this, see:
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0302/msg00194.html

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-users mailing list