PHPMapscript CGI =>trouble

Wannes Van der Gucht Wannes.VanderGucht at UGENT.BE
Wed Apr 6 23:17:30 EDT 2005


At first I was running mapserver on the stock Apache 1.3.33 that comes with Mac
OS 10.3., but because that was not working I installed Apache 2. The itasca demo
(Mapserver 3.6.4) was working, but when I tried the MSrecipes demo from
(http://www.mobilegeographics.com/mapserver/) it didn't work. (The requested URL
/cgi/php/MSrecipes/hello.phtml was not found on this server)

Trying to solve the problem I switched back to Apache 1.3.33 and installed the
package at charter.net (after removing previous Mapserver 3.6.4). But now I get
the following error when I try the demo from
http://mapserver.gis.umn.edu/dload.html:

The server encountered an internal error or misconfiguration and was unable to
complete your request.

Something wrong with the config file? I removed PHP4 and Mapserver, got a clean
httpd.conf file and re-installed PHP4(entropy package) and Mapserver 4.4.1
(charter.net package). I thought that would work but I still get the same error!
Am I in trouble?!

Citeren William K <woklist at CHARTER.NET>:

> Don't know much about PHP + Apache 2 (or the Serverlogistics
> distributions of these), but I recall that there are issues with
> running MapServer in Apache 2.  I think?  Can someone else say?
>
> But, while their PHP and Apache 2 distributions may be fairly
> up-to-date, that's a very old MapServer.  Do you have to use Apache 2?
> I just recently put together a current MapServer package for Mac OS X.
> MS 4.4.1, includes both CGI MapServer and PHP-MapScript (for PHP as an
> Apache module, which I also include).  All support libraries included.
> All made for the stock Apache 1.3.33 that comes with Mac OS 10.3.
>
> Check out my MapServer page:
> <http://webpages.charter.net/kyngchaos/macosx/mapservinstall.html>.
>
>
> On Apr 6, 2005, at 6:07 PM, wannes Van der Gucht wrote:
>
> > Hello,
> >
> > I'm new to mapserver and not familiar with terminal(and compiling). I
> > installed PHP4 on apache2 with a package (serverlogistics) on my Mac
> > (OSX
> > 10.3.8). The package installs PHP as a module, so I installed a PHP
> > executable in the  cgi-bin directory and followed the instructions in
> > MapserverWiki:PHPMapScriptCGI. Normally any script with the .phtml
> > extension
> > in the /htdocs/MSrecipes directory will execute as a CGI, but this
> > doesn't
> > work...
> >
>
> -----
> William Kyngesburye <kyngchaos at charter.net>
> http://webpages.charter.net/kyngchaos/
>
> "Oh, look, I seem to have fallen down a deep, dark hole.  Now what does
> that remind me of?  Ah, yes - life."
>
> - Marvin
>


--



More information about the mapserver-users mailing list