[mapserver-users] Map server version 5.0.x not working

Pwint Phyu Aung phyu108 at gmail.com
Fri Mar 27 04:43:19 EDT 2009


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090327/71900bf1/attachment.html


More information about the mapserver-users mailing list