[mapserver-users] Mapscript/PHP not compatible with PHP4 in D ebian Woody

Antti.Roppola at brs.gov.au Antti.Roppola at brs.gov.au
Mon Jun 3 23:37:44 EDT 2002


Paul,

Since PHP has to be compiled as a CGI to work with Mapserver,
I compiled up a seperate PHP executable that is only used with
PHPMapscript pages. Asides from not causing dependancy problems
later on, it also means I don't need to worry about enforcing
Mapserver related limitations on my regular PHP apps.

See http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?DebianLinux for
a detailed list of how I have set up my 3.6 box.

I'd rather a seperate PHP CGI was packaged until the regex and CGI
issues are fixed.

Cheers,

Antti
P.S. I found the testing distro was for the most part up-to-date with
Mapserver's requirements while stable was missing a lot. testing is
supposed to be in a pretty advanced state so it should be OK.


-----Original Message-----
From: Paul Baker [mailto:pbaker at where2getit.com]
Sent: Tuesday, 4 June 2002 8:43 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] Mapscript/PHP not compatible with PHP4 in
Debian Woody


I'm working on the debian package for mapserver 3.6 and I'm running into
a small snag. Debian's PHP4 package is built using php's bundled regex.
So it looks like I won't be building a debian package of mapserver that
includes Mapscript/PHP. :-( Is there any chance that this is going to be
resolved? I doubt I could convince the Debian PHP maintainers to switch
to using the system regex.

checking for location of config.h or php_config.h... /usr/include/php4/main/php_config.h
checking whether we have PHP3 or PHP4... -DPHP4
checking whether we should use PHP's regex... yes
configure: error: 
!!! The current version of PHP MapScript has some problems with      !!!
!!! PHP4's bundled regex.  Until we figure the solution to the       !!!
!!! problem, the workaround is to compile PHP4 with the system regex !!!
!!! Please re-configure and re-compile PHP4 with --with-system-regex !!!
!!! and then re-configure and re-compile MapServer.                  !!!
make: *** [config.status] Error 1

--
Paul Baker






More information about the mapserver-users mailing list