Configure error when building for Apache DSO

Rob P. rob at DATAFLOWDESIGN.COM
Wed Jan 19 12:02:09 EST 2005


According to the the HISTORY.TXT file distributed with ms 4.4.1,
php_mapscript can be built as an Apache DSO. However, when I run the
configure script this does not seem to be the case:

./configure --with-php=/usr/ports/lang/php4/work/php-4.3.10 \
 --with-php-regex-dir=/usr/ports/lang/php4/work/php-4.3.10 \
 --with-apxs=/usr/local/sbin/apxs --with-gd=/usr/local

checking whether we should use PHP's regex... yes
        using PHP regex source from /usr/ports/lang/php4/work/php-4.3.10/regex
        PHP/MapScript module configured.
configure: error:
!!! The current version of PHP MapScript requires PHP4 configured as  !!!
!!! a CGI and cannot be used with PHP4 configured as an Apache module,!!!
!!! so you cannot use the --with-apxs option.                         !!!
!!! See: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI !!!

Does anyone see what I am doing wrong here?

OS is FreeBSD 5.3
Apache/1.3.33
php 4.3.10

Thankyou for your help
Rov



More information about the mapserver-users mailing list