[Mapserver-users] PHP/Mapscript problems

Ugan ugan at dataworld.co.za
Fri May 7 08:46:03 EDT 2004


This is a multi-part message in MIME format.

------_=_NextPart_001_01C43431.41CC5340
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hey,
=20
I'm trying to install PHP 4, PHP/MapScript 4.0.2 and MapServer 4.0.2 so
that I can use MapLab 2.1-rc3. But (as per normal!) I got a few
problems:
=20
1.     When I try to run .php files in certain directories I get the
following error message box:
     "[Turck MMCache] Can not create shared memory area]"=20
I have already set up those directories using my IIS. Any idea how can
solve this?
=20
2.     Can anyone tell me how to properly edit your web server
configuration to allow access to
  /maplab-2.0-RC4/... and make sure that index.phtml pages are allowed
as default pages (as per Installing MapLab in Windows install
instructions?
=20
3.     PHP doesn't run .phtml files. I have already tried to add .php
and .phtml extensions to the Configuration/Application Mapping section
in my IIS (as per MapServer PHP/MapScript Installation
[http://mapserver.gis.umn.edu/doc/phpmapscript-install-howto.html#exampl
e]. Any clues here?
=20
=20
Your help is SO welcome. Thanks a lot.

=20


------_=_NextPart_001_01C43431.41CC5340
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:9.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:1316689253;
	mso-list-type:hybrid;
	mso-list-template-ids:-923098860 67698703 67698713 67698715 67698703 =
67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1><pre><font size=3D1 face=3D"Courier New"><span
style=3D'font-size:9.0pt'>Hey,<o:p></o:p></span></font></pre><pre><font =
size=3D1
face=3D"Courier New"><span =
style=3D'font-size:9.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font=

size=3D1 face=3D"Courier New"><span style=3D'font-size:9.0pt'>I&#8217;m =
trying to install PHP 4, PHP/MapScript 4.0.2 and MapServer 4.0.2 so that =
I can use MapLab 2.1-rc3. But (as per normal!) I got a few =
problems:<o:p></o:p></span></font></pre><pre><font
size=3D1 face=3D"Courier New"><span =
style=3D'font-size:9.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre
style=3D'margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><font
size=3D1 face=3D"Courier New"><span style=3D'font-size:9.0pt'><span =
style=3D'mso-list:
Ignore'>1.<font size=3D1 face=3D"Times New Roman"><span =
style=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp; =
</span></font></span></span></font><![endif]>When I try to run .php =
files in certain directories I get the following error message =
box:<o:p></o:p></pre><pre
style=3D'margin-left:.25in'><font size=3D1 face=3D"Courier New"><span
style=3D'font-size:9.0pt'>&nbsp;&nbsp;&nbsp;&nbsp; &#8220;[Turck =
MMCache] Can not create shared memory area]&#8221; =
<o:p></o:p></span></font></pre><pre
style=3D'margin-left:.25in'><font size=3D1 face=3D"Courier New"><span
style=3D'font-size:9.0pt'>I have already set up those directories using =
my IIS. Any idea how can solve this?<o:p></o:p></span></font></pre><pre
style=3D'margin-left:.25in'><font size=3D1 face=3D"Courier New"><span
style=3D'font-size:9.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre
style=3D'margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><font
size=3D1 face=3D"Courier New"><span style=3D'font-size:9.0pt'><span =
style=3D'mso-list:
Ignore'>2.<font size=3D1 face=3D"Times New Roman"><span =
style=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp; =
</span></font></span></span></font><![endif]>Can anyone tell me how to =
properly edit your web server configuration to allow access =
to<o:p></o:p></pre><pre
style=3D'margin-left:.5in'><font size=3D1 face=3D"Courier New"><span
style=3D'font-size:9.0pt'>  /maplab-2.0-RC4/... and make sure that =
index.phtml pages are allowed as default pages (as per Installing MapLab =
in Windows install =
instructions?<o:p></o:p></span></font></pre><pre><font
size=3D1 face=3D"Courier New"><span =
style=3D'font-size:9.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre
style=3D'margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><font
size=3D1 face=3D"Courier New"><span style=3D'font-size:9.0pt'><span =
style=3D'mso-list:
Ignore'>3.<font size=3D1 face=3D"Times New Roman"><span =
style=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp; =
</span></font></span></span></font><![endif]>PHP doesn&#8217;t run =
.phtml files. I have already tried to add .php and .phtml extensions to =
the Configuration/Application Mapping section in my IIS (as per =
MapServer PHP/MapScript Installation =
[http://mapserver.gis.umn.edu/doc/phpmapscript-install-howto.html#example=
]. Any clues here?<o:p></o:p></pre><pre><font
size=3D1 face=3D"Courier New"><span =
style=3D'font-size:9.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font=

size=3D1 face=3D"Courier New"><span =
style=3D'font-size:9.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font=

size=3D1 face=3D"Courier New"><span style=3D'font-size:9.0pt'>Your help =
is SO welcome. Thanks a lot.<o:p></o:p></span></font></pre>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C43431.41CC5340--



More information about the mapserver-users mailing list