Configure error when building for Apache DSO
Steven Monai
stevem at SPATIALMAPPING.COM
Thu Jan 20 09:27:05 PST 2005
I think you have confused php_mapscript with PHP. It is PHP that is
compiled as an Apache DSO; php_mapscript is compiled as a dynamically-
loaded module of PHP. Drop the '--with-apxs' switch from your MapServer
configuration, and you might have better luck.
Hope this helped,
-Steve M.
--
On Wed, 19 Jan 2005 11:02:09 -0600, Rob P. <rob at DATAFLOWDESIGN.COM> wrote:
>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