[mapserver-users] configure problems

Daniel Morissette morissette at dmsolutions.ca
Thu Aug 22 14:32:53 EDT 2002


Ken Kyler wrote:
> 
> now on to the next problem
> 
> !!! The current version of PHP MapScript requires PHP4 configured as  !!!
> !!! a CGI and cannot be used with PHP4 configured as an Apache module,!!!
> 
> yet the Mapscript FAQ says
> 
> "2.3 Does MapScript require that PHP3/PHP4 be a DSO?
> 
> It does not, it will work either way.
> However, if PHP was compiled as a DSO then you will have to pass
> the --with-apxs switch to the Maperver configure script. It is very
> important that the --with-apxs switch be provided if PHP was compiled as an
> Apache DSO, especially on systems like RedHat 6.2 where Apache comes
> compiled with the -DEAPI switch and this has an impact on DSO modules."
> 
> <sigh> Please pass the Ibuprofen...
> 


Unfortunately this FAQ is out of date... it dates from pre-3.5 days...  
The reality with PHP4 and MapServer 3.6 is that you must configure your
PHP as a CGI in order to use MapScript.  

See:
 http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI
and also 
 http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScript

Daniel
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              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