Hi Norm,<br><br>I have to reopen this email thread since I encounter further problem after installing self built FGS installer. If you still remember, I have been building FGS from scratch target for Linux/sparc64 machine. The lastest FGS installer I built is based on mapserver 5.2.1 and php 5.2.5. The package information looks like:<br>
<br>fgsdev build_si mapserver_basic_5.2.1 1.0.2 mapserver-php gdal_ecw-module libecw-base postgis-lib ming-lib python_mapscript-module<br>* Creating archive file containing all required FGS modules...<br>+ Including base module... ok<br>
+ Including mapserver-php version 5.2.1... ok<br>+ Including mapserver-base version 5.2.1... ok<br>+ Including libstdc++-lib version 6.0.10... ok<br>+ Including libgcc-lib version 1... ok<br>+ Including apache-base version 2.2.8... ok<br>
+ Including expat-base version 2.0.1... ok<br>+ Including gd-lib version 2.0.35... ok<br>+ Including jpeg-lib version 6b... ok<br>+ Including freetype-lib version 2.3.5... ok<br>+ Including libpng-lib version 1.2.8... ok<br>
+ Including zlib-lib version 1.2.3... ok<br>+ Including curl-lib version 7.19.4... ok<br>+ Including openssl-lib version 0.9.8a... ok<br>+ Including proj-lib version 4.5.0... ok<br>+ Including postgresql-lib version 8.3.1... ok<br>
+ Including gdal-base version 1.6.1... ok<br>+ Including tiff-lib version 3.8.2... ok<br>+ Including libgeotiff-lib version 1.2.4... ok<br>+ Including xerces_c-base version 2_8_0... ok<br>+ Including unixODBC-base version 2.2.10... ok<br>
+ Including libungif-base version 4.1.3... ok<br>+ Including libiconv-base version 1.9.1... ok<br>+ Including proj4_epsg42xxx-support version 1.0.0... ok<br>+ Including geos-lib version 3.1.0... ok<br>+ Including libxml2-base version 2.7.3... ok<br>
+ Including agg-lib version 2.4... ok<br>+ Including php-base version 5.2.5... ok<br>+ Including gdal_ecw-module version 1.6.1... ok<br>+ Including libecw-base version 3.3.20060906... ok<br>+ Including postgis-lib version 1.3.2... ok<br>
+ Including python_mapscript-module version 5.2.1... ok<br>+ Including python-base version 2.5.2... ok<br>* Creating self-extracting archive script<br>* Self installer image created with success in &#39;/home/FGS/fgs-dev/modules/fgs-mapserver_basic_5.2.1-1.0.2-linux-sparc64.bin&#39;.<br>
* Versions info file is &#39;/home/FGS/fgs-dev/modules/fgs-mapserver_basic_5.2.1-1.0.2-linux-sparc64.versions&#39;.<br><br>Then I installed it onto the target machine, and it is properly installed. The install log looks like:<br>
<br>sh fgs-mapserver_basic_5.2.1-1.0.2-linux-sparc64.bin <br>* Starting FGS installation :<br>Where do you want to install the FGS suite [/opt/fgs] ?<br>+ Extracting fgs-base.tar.gz from /tmp/fgs-selfextract.OqhqUs...ok<br>
+ Running base&#39;s installer<br>+ module : base<br>+ Running fgs install mapserver-php<br>* Probing last version of module &#39;mapserver-php&#39;... 5.2.1<br>+ Installing mapserver-php:<br>  + Getting and extracting module &#39;mapserver-php&#39;... ok<br>
    + Getting and extracting module &#39;mapserver-base&#39;... ok<br>      + Getting and extracting module &#39;libstdc++-lib&#39;... ok<br>      + Getting and extracting module &#39;libgcc-lib&#39;... ok<br>      + Getting and extracting module &#39;apache-base&#39;... ok<br>
        + Getting and extracting module &#39;expat-base&#39;... ok<br>      + Getting and extracting module &#39;gd-lib&#39;... ok<br>        + Getting and extracting module &#39;jpeg-lib&#39;... ok<br>        + Getting and extracting module &#39;freetype-lib&#39;... ok<br>
        + Getting and extracting module &#39;libpng-lib&#39;... ok<br>          + Getting and extracting module &#39;zlib-lib&#39;... ok<br>      + Getting and extracting module &#39;curl-lib&#39;... ok<br>        + Getting and extracting module &#39;openssl-lib&#39;... ok<br>
      + Getting and extracting module &#39;proj-lib&#39;... ok<br>      + Getting and extracting module &#39;postgresql-lib&#39;... ok<br>      + Getting and extracting module &#39;gdal-base&#39;... ok<br>        + Getting and extracting module &#39;tiff-lib&#39;... ok<br>
        + Getting and extracting module &#39;libgeotiff-lib&#39;... ok<br>        + Getting and extracting module &#39;xerces_c-base&#39;... ok<br>        + Getting and extracting module &#39;unixODBC-base&#39;... ok<br>        + Getting and extracting module &#39;libungif-base&#39;... ok<br>
      + Getting and extracting module &#39;libiconv-base&#39;... ok<br>      + Getting and extracting module &#39;proj4_epsg42xxx-support&#39;... ok<br>      + Getting and extracting module &#39;geos-lib&#39;... ok<br>      + Getting and extracting module &#39;libxml2-base&#39;... ok<br>
      + Getting and extracting module &#39;agg-lib&#39;... ok<br>    + Getting and extracting module &#39;php-base&#39;... ok<br>+ Copying all files into FGS environment... ok<br>+ Running apache-base&#39;s installation script :<br>
*      *** Apache installation ***<br>* Selecting TCP port... Example: 80, 8080, 8000<br>? What TCP port do you want to use [80] : 8000<br>+ Port selected : &#39;8000&#39;<br>* You can start apache with : fgs start apache<br>
*      *** End of Apache installation ***<br>+ Running gdal-base&#39;s installation script :<br> Oracle support needs libaio-dev package.  Is this package installed?  If you answer &#39;Y&#39; and the library is not installed most GDAL/OGR commands will failed. [y/n]y<br>
+ Running libgeotiff-lib&#39;s installation script :<br>+ Running mapserver-base&#39;s installation script :<br>+ Running mapserver-php&#39;s installation script :<br>* php5.ini.template not found. Is php_base installed?<br>
+ Running php-base&#39;s installation script :<br>+ php5.ini file installed in /opt/fgs/www/conf/php5.ini.template<br>+ Running proj4_epsg42xxx-support&#39;s installation script :<br>+ Running proj-lib&#39;s installation script :<br>
* Module &#39;mapserver-php&#39; installed with success.<br>+ Running fgs install gdal_ecw-module<br>* Probing last version of module &#39;gdal_ecw-module&#39;... 1.6.1<br>+ Installing gdal_ecw-module:<br>  + Getting and extracting module &#39;gdal_ecw-module&#39;... ok<br>
+ Copying all files into FGS environment... ok<br>* Module &#39;gdal_ecw-module&#39; installed with success.<br>+ Running fgs install libecw-base<br>* Probing last version of module &#39;libecw-base&#39;... 3.3.20060906<br>
+ Installing libecw-base:<br>  + Getting and extracting module &#39;libecw-base&#39;... ok<br>+ Copying all files into FGS environment... ok<br>* Module &#39;libecw-base&#39; installed with success.<br>+ Running fgs install postgis-lib<br>
* Probing last version of module &#39;postgis-lib&#39;... 1.3.2<br>+ Installing postgis-lib:<br>  + Getting and extracting module &#39;postgis-lib&#39;... ok<br>+ Copying all files into FGS environment... ok<br>+ Running postgis-lib&#39;s installation script :<br>
* Module &#39;postgis-lib&#39; installed with success.<br>+ Running fgs install ming-lib<br>* Probing last version of module &#39;ming-lib&#39;... 0.4.2<br>+ Installing ming-lib:<br>  + Getting and extracting module &#39;ming-lib&#39;... ok<br>
+ Copying all files into FGS environment... ok<br>* Module &#39;ming-lib&#39; installed with success.<br>+ Running fgs install python_mapscript-module<br>* Probing last version of module &#39;python_mapscript-module&#39;... 5.2.1<br>
+ Installing python_mapscript-module:<br>  + Getting and extracting module &#39;python_mapscript-module&#39;... ok<br>    + Getting and extracting module &#39;python-base&#39;... ok<br>+ Copying all files into FGS environment... ok<br>
* Module &#39;python_mapscript-module&#39; installed with success.<br>+ Starting FGS&#39;s daemon:<br>+ Starting &#39;apache&#39;:<br><br>In browser, I input &quot;<a href="http://localhost:8000/cgi-bin/mapserv/">http://localhost:8000/cgi-bin/mapserv/</a>&quot; and it returns &quot;<a name="base">No query information to decode. QUERY_STRING is set, but empty</a>&quot;. So mapserver is working. There is a file called &quot;phpinfo.php&quot; located at /opt/fgs/www/htdocs/ directory. Then I input &quot;<a href="http://localhost:8000/phpinfo.php">http://localhost:8000/phpinfo.php</a>&quot; in browser, but it returns &quot;404 Not Found The requested URL /cgi-bin/php5/phpinfo.php was not found on this server.&quot; I use firebug plugin in firefox to investigate and find in response header saying &quot;Server<code class=""> Apache/2.2.8 (Unix)</code>&quot;. If I send same request to another running FGS (1.0) you provide in official website, it says &quot;Server<code class=""> Apache/2.2.8 (Unix)  X-Powered-By PHP/5.2.5</code>&quot; in response header and returns correct page content. It seems to me that my self-built FGS is not able to execute php code in apache. Could you instruct me how to fix it? I need Apache/Mapserver/PHP/Mapscript all working together in order to run application such as ka-map on top. Thank you in advance.<br>
<br>Best Regards,<br>Hao<br>