[prev in list] [next in list] [prev in thread] [next in thread]
List: mapserver-users
Subject: [mapserver-users] Map server version 5.0.x not working
From: Pwint Phyu Aung <phyu108 () gmail ! com>
Date: 2009-03-27 8:43:19
Message-ID: 446aa160903270143o19dd84f9r6dfbcb666164348 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi there!
I installed the map server in my solaris server together with apache,
mysql and php.
I downloaded mapserver php script version 5.0.x and compiled it there with
the option:
>./configure --with-gd=/usr/local --with-freetype=/usr/local
--with-zlib=/usr/local --with-png=/usr/local --with-jpeg=/usr/local
--with-tiff=/usr/local --enable-perlv-ld-detect --with-proj
--with-ogr=/usr/local --with-tiff=/usr/local --with-libiconv=/usr
--with-xml2-config=/usr/bin/xml2-config --with-php=/usr/local/include/php
--with-gdal=/usr/local/bin/gdal-config
>make
Before installed, I already downloaded all the necessary packages and
installed.
After that copied php_mapscript.so to web folder folder as we do 'nt want to
use cgi .
But when we check the map.php file it soean't showing anything.
I loaded the script like this:
<?php
if (PHP_OS == "WINNT" || PHP_OS == "WIN32")
{
dl("php_mapscript.dll");
}
else
{
dl("php_mapscript.so");
}
phpinfo();
?>
But still doesn't work.
Then I changed my configure option like this:
./configure --with-php=/usr/local/include/php --with-gd=/usr/local
--with-freetype=/usr/local --with-zlib=/usr/local --with-png=/usr/local
--with-jpeg=/usr/local --with-tiff=/usr/local --enable-perlv-ld-detect
--with-proj --with-ogr=/usr/local --with-tiff=/usr/local
and did the same way that I did in the above stage but it doesn't work
either.
Please give me an advice.
I'm not expert in using map server.
Please help me.
Thanks in advance.
[Attachment #5 (text/html)]
<div>Hi there!</div>
<div> I installed the map server in my solaris server together with apache, mysql \
and php.</div> <div>I downloaded mapserver php script version 5.0.x and compiled it \
there with the option:</div> <div><font face="Times New Roman" size="3"></font> \
</div> <div><font face="Times New Roman" size="3">>./configure \
--with-gd=/usr/local --with-freetype=/usr/local --with-zlib=/usr/local \
--with-png=/usr/local --with-jpeg=/usr/local --with-tiff=/usr/local \
--enable-perlv-ld-detect --with-proj --with-ogr=/usr/local --with-tiff=/usr/local \
--with-libiconv=/usr --with-xml2-config=/usr/bin/xml2-config \
--with-php=/usr/local/include/php --with-gdal=/usr/local/bin/gdal-config</font></div>
<div> </div>
<div>>make</div>
<div> </div>
<div>Before installed, I already downloaded all the necessary packages and \
installed.</div> <div>After that copied php_mapscript.so to web folder folder as we \
do 'nt want to use cgi .</div> <div>But when we check the map.php file it \
soean't showing anything.</div> <div>I loaded the script like this:</div>
<div> </div>
<div><pre><font size="4"><?php </font></pre><pre><font size="4"><span \
style="mso-spacerun: yes"> </span>if (PHP_OS == "WINNT" || PHP_OS == \
"WIN32")</font></pre><pre><font size="4"><span style="mso-spacerun: yes"> \
</span>{</font></pre> <pre><font size="4"><span style="mso-spacerun: yes"> \
</span>dl("php_mapscript.dll");</font></pre><pre><font size="4"><span \
style="mso-spacerun: yes"> </span>}</font></pre><pre><font size="4"><span \
style="mso-spacerun: yes"> </span>else</font></pre> <pre><font size="4"><span \
style="mso-spacerun: yes"> </span>{</font></pre><pre><font size="4"><span \
style="mso-spacerun: yes"> \
</span>dl("php_mapscript.so");</font></pre><pre><font size="4"><span \
style="mso-spacerun: yes"> </span>}</font></pre> <pre><font size="4"><span \
style="mso-spacerun: yes"> </span>phpinfo();</font></pre><pre><font size="4"><span \
style="mso-spacerun: yes"> </span>?></font></pre></div> <div> But still \
doesn't work.</div> <div> </div>
<div>Then I changed my configure option like this:</div>
<div> </div>
<div><font face="Times New Roman" size="3">./configure \
--with-php=/usr/local/include/php --with-gd=/usr/local --with-freetype=/usr/local \
--with-zlib=/usr/local --with-png=/usr/local --with-jpeg=/usr/local \
--with-tiff=/usr/local --enable-perlv-ld-detect --with-proj --with-ogr=/usr/local \
<span style="mso-spacerun: yes"> </span>--with-tiff=/usr/local</font></div>
<div> </div>
<div>and did the same way that I did in the above stage but it doesn't work \
either.</div> <div>Please give me an advice.</div>
<div>I'm not expert in using map server.</div>
<div>Please help me.</div>
<div>Thanks in advance.</div>
<div> </div>
<div> </div>
<div><br clear="all"><br> </div>
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic