[mapserver-users] mapserver install on solaris

Pwint Phyu Aung phyu108 at gmail.com
Mon Mar 23 00:42:53 EDT 2009


Hi there!
         I'm installing Map server version 5.0.x in my Unix (solaris Intel)
server.
I installed apache built-in and mysql and php 4.4.7
Then download and install map server by compiling:

>./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


and

>make

and then, to load the php_mapscript.so, copy that file into my web folder cp
mapscript/php3/php_mapscript.so /webfolder
and runt he script to test.


<HTML>

    <BODY>



    <?php

    if (PHP_OS == "WINNT" || PHP_OS == "WIN32")

    {

      dl("php_mapscript.dll");

    }

    else

    {

      dl("php_mapscript.so");

    }

    phpinfo();

    ?>



   </BODY>

   </HTML>

But the map script information is not showing in php info file.

How to fix the problem?

Please help me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090323/dd5e30cb/attachment.html


More information about the mapserver-users mailing list