[mapserver-users] source files of gmap

D.J. Grzicic grzicidj at muss.cis.mcmaster.ca
Mon Jan 7 09:44:06 EST 2002


- just to add to this... i checked the error log for apache and it
states:

"Premature end of script headers: c:/program files/apache
group/apache/php4/php.exe"

hmmm...

-dave

On Mon, 07 Jan 2002 09:39:53 -0500
 "D.J. Grzicic" <grzicidj at muss.cis.mcmaster.ca> wrote:
> Hi Dan,
> when i add the "AddType" line for .phtml files i get an "INTERNAL
> SERVER
> ERROR" when i try to access gmap75.phtml ? What could the problem be
> ????
> 
> -dave
> 
> On Sun, 06 Jan 2002 15:26:08 -0500
>  Daniel Morissette <morissette at dmsolutions.ca> wrote:
> > Looks like your web server desn't recognize .phtml as a PHP file
> > extension and just returns the page source directly without running
> > it
> > through the PHP parser.
> > 
> > Find the line with "AddType ... .php" in your httpd.conf and add a
> > similar line for ".phtml"... that should do the trick.
> > 
> > Daniel
> > 
> > 
> > "D.J. Grzicic" wrote:
> > > 
> > > Hi list,
> > > i downloaded the gmap source files in hope of getting it to run
> on
> > my
> > > machine however i run into a problem! When i access the
> > "gmap75.phtml"
> > > file i get a whole bunch of code on the top of my page with money
> > signs
> > > ($) all over the place (probably mapscript) and the graphical
> > interface
> > > at the bottom. What am i doing wrong ? Do i need to add a line
> into
> > my
> > > apache configuration file about .phtml files ?
> > > 
> > > -thanks in advance.
> > > 
> > > P.S. i'm running mapserver3.4 on apache, win2000, with
> > php/mapscript
> 




More information about the mapserver-users mailing list