[Mapserver-users] Installation with PHP on Unix

Vincent Schut schut at sarvision.com
Wed Apr 9 06:43:06 PDT 2003


Agneta,

Though I'm a linux - not unix - user, your problem sounds familiar.
Some checks that could shine light in this mapserver-darkness and prevent you 
from doing only mapserver compilations till your 65th birthday... :
If you check your php info page (you should have something like phpinfo.php 
somewhere) what does that tell you about the used regex?
Did you compile php with --with-regex=system? The old option 
'--with-system-regex' is depricated since version 4.3.1, no matter what 
mapserver tells you...
Have you checked the configure and make output of php (I know it's a lot...) 
to check whether it really compiled a cgi, not a apache module?

Mind also that when compiling mapserver, the last version of php you compiled 
counts. If you use 2 seperate versions of php, e.g. a apache module (apxs) 
and a cgi, you should compile the cgi *after* the apache module, otherwise 
mapserver will give you this same complaint. It only detects your last php 
compilation. Another solution in this case is to put the 2 versions in 2 
different directories (--prefix=.....).

Hope these help you further,
Vincent Schut.

On Tuesday 08 April 2003 16:53, Agneta Schick wrote:
> Hello MapServer-users,
>
> I don't know how often other users needed to compile the Mapserver
> and necessary components - I needed quite a number of tries until
> I had Perl MapScript running.
>
> And now I want to try PHP MapScript. Is anyone offended if I try a shortcut
> and ask who has the right configuration for
> 	php-4.3.1
> 	Mapserver 3.6.5
> 	Apache 1.3.22
> 	on Solaris 8
> ?
>
> I configured PHP as CGI but Mapserver-configure complained
> 	"re-compile PHP4 with --with-system-regex "
> so I did and then Mapserver-configure complained again
> 	"re-compile PHP4 with --with-system-regex ".
> This will keep me busy until I retire!
>
> I'm grateful if a Unix user will share his installation experience with me.
>
> Agneta Schick
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~ Agneta Schick
>
>     Bundesanstalt fuer Geowissenschaften und Rohstoffe
>     Federal Institute for Geosciences and Natural Resources
>     Stilleweg 2
>     D- 30655 Hannover                   Tel.: +49 511 643 3136
>     GERMANY                             FAX.: +49 511 643 3663
>
>     schick at sdac.hannover.bgr.de         http://www.seismologie.bgr.de
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

-- 
______________________________________
Vincent Schut (schut at sarvision.com)
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com



More information about the MapServer-users mailing list