[mapserver-users] mapscript install
Daniel Morissette
morissette at dmsolutions.ca
Wed Jul 25 06:13:57 PDT 2001
Benoit Véler wrote:
>
> >An error message or a description of what goes wrong would have helped
> >us help you...
>
> What goes wrong is that I can see the
> c:/localhost/mapscript/phpinfo_mapscript.phtml under my browser as if I
> was under Notepad...
Ah! Now I can help! :)
The problem is that your PHP installation does not recognize ".phtml" as
a PHP file extension. Assuming you're using PHP4 under Apache then you
need to add the following line with the other PHP-related AddType lines
in the httpd.conf:
AddType application/x-httpd-php .phtml
--
------------------------------------------------------------
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