<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br>Hi,<br><br>you are completely right. I just renamed map.phtml in map.php and the application seems to run fine.<br>Actually I would prefer to register .phtml in my php handler in apache, but since I changed the php module (php-fpm) <br>I don't know where I should insert the handler.<br><br>E.<br><br><div><hr id="stopSpelling">Date: Tue, 23 Feb 2016 08:48:02 -0700<br>Subject: Re: [mapserver-users] mapscript version and date<br>From: richard.greenwood@gmail.com<br>To: frippe12573@hotmail.com<br>CC: mapserver-users@lists.osgeo.org<br><br><div dir="ltr">Well you need to rename map.phtml to map.php. I think that your problem is that the ".phtml" is not registered with your php handler. So if you don't want to rename map.phtml you need to modify your Apache config.<br><br></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Tue, Feb 23, 2016 at 8:32 AM, Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">Hi,<br><br>following your suggestion I tried:<br><a href="http://my_server_name/wm_goth/map.phtml?winsize=large&language=it&config=" target="_blank"></a><a href="http://my_server_name/wm_goth/map.php?winsize=large&language=it&config=" target="_blank">http://my_server_name/wm_goth/map.php?winsize=large&language=it&config=</a><br><br>I got page error: NOT FOUND<br>The request url /wm_goth/map.php was not found on this server.<br><br>It does help?<span class="ecxHOEnZb"><font color="#888888"><br><br>E.<br></font></span><div class="ecxhm ecxHOEnZb"><br></div><div><div class="ecxhm ecxHOEnZb"><hr>Date: Tue, 23 Feb 2016 08:27:18 -0700<br>Subject: Re: [mapserver-users] mapscript version and date<br>From: <a href="mailto:richard.greenwood@gmail.com" target="_blank">richard.greenwood@gmail.com</a><br>To: <a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a><br>CC: <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a></div><div><div class="h5"><br><br><div dir="ltr">What happens if you change the extension from phtml to php, e.g. map.php<br><br></div><div><br><div>On Tue, Feb 23, 2016 at 7:43 AM, Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">Hi,<br><br>my info.php states that I have installed Mapserver, version 6.4.1 but no date and version are declared<br>for php_mapscript.<br>On this ubuntu server I recently switched the php mode in apache, from normal mod-php5 to mod-fpm.<br>Apache rightly interprets the php pages, whilst mapserver (and pmapper) have problems.<br>The mapserver seems to work fine, the URL <a href="http://my_server_name/cgi-bin/mapserv?" target="_blank">http://my_server_name/cgi-bin/mapserv?</a> <br>gives me the classical string:<br>No query information to decode. QUERY_STRING is set, but empty. 
<br>However launching the pmapper application by url:<br><a href="http://my_server_name/wm_goth/map.phtml?winsize=large&language=it&config=" target="_blank">http://my_server_name/wm_goth/map.phtml?winsize=large&language=it&config=</a><br>I got an almost empty page (only line on the top) and php code in the browser tab title.<br><br>Can you give me hints?<span><font color="#888888"><br><br>Eugenio<br>                                         </font></span></div></div>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr">Richard W. Greenwood, PLS<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div>
</div></div></div></div>                                          </div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="ecxgmail_signature"><div dir="ltr">Richard W. Greenwood, PLS<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div>
</div></div>                                          </div></body>
</html>