problem compiling PHP mapscript module

Daniel Morissette morissette at dmsolutions.ca
Sun Apr 1 14:33:22 PDT 2001


Max,

MapServer's configure also has the --with-apache=DIR option that should
do exactly what you need.

Daniel

> massimo ambrosini wrote:
> 
> Hi,
> 
> I'm trying to compile mapserver with php mapscript module but I get an
> error.
> My os is linux and I have apache_1.3.12 and php-3.0.15.
> PHP3 is statically linked into Apache.
> 
> When I run: ./configure --with-php3=../php-3.0.15
>                  make
> 
> I get:     ap_config_auto.h: file not found
>             ap_config.h: file not found
>             .... and so on.
> 
> I've read the faq about this problem but it regards the use of php as
> DSO.
> When I compile php3 source in apache building procedure  I use
> "--with-apache=../apache_1.3.12" so
> the make process can find the header files like "ap_config_auto.h"
> etc.
> When I compile mapserver source what can I do to avoid the file not
> found error on these header files ?
> 
> thanks
> 
> max

-- 
------------------------------------------------------------
 Daniel Morissette                morissette at dmsolutions.ca
                 http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.




More information about the MapServer-users mailing list