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 '/home/FGS/fgs-dev/modules/fgs-mapserver_basic_5.2.1-1.0.2-linux-sparc64.bin'.<br>
* Versions info file is '/home/FGS/fgs-dev/modules/fgs-mapserver_basic_5.2.1-1.0.2-linux-sparc64.versions'.<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's installer<br>+ module : base<br>+ Running fgs install mapserver-php<br>* Probing last version of module 'mapserver-php'... 5.2.1<br>+ Installing mapserver-php:<br> + Getting and extracting module 'mapserver-php'... ok<br>
+ Getting and extracting module 'mapserver-base'... ok<br> + Getting and extracting module 'libstdc++-lib'... ok<br> + Getting and extracting module 'libgcc-lib'... ok<br> + Getting and extracting module 'apache-base'... ok<br>
+ Getting and extracting module 'expat-base'... ok<br> + Getting and extracting module 'gd-lib'... ok<br> + Getting and extracting module 'jpeg-lib'... ok<br> + Getting and extracting module 'freetype-lib'... ok<br>
+ Getting and extracting module 'libpng-lib'... ok<br> + Getting and extracting module 'zlib-lib'... ok<br> + Getting and extracting module 'curl-lib'... ok<br> + Getting and extracting module 'openssl-lib'... ok<br>
+ Getting and extracting module 'proj-lib'... ok<br> + Getting and extracting module 'postgresql-lib'... ok<br> + Getting and extracting module 'gdal-base'... ok<br> + Getting and extracting module 'tiff-lib'... ok<br>
+ Getting and extracting module 'libgeotiff-lib'... ok<br> + Getting and extracting module 'xerces_c-base'... ok<br> + Getting and extracting module 'unixODBC-base'... ok<br> + Getting and extracting module 'libungif-base'... ok<br>
+ Getting and extracting module 'libiconv-base'... ok<br> + Getting and extracting module 'proj4_epsg42xxx-support'... ok<br> + Getting and extracting module 'geos-lib'... ok<br> + Getting and extracting module 'libxml2-base'... ok<br>
+ Getting and extracting module 'agg-lib'... ok<br> + Getting and extracting module 'php-base'... ok<br>+ Copying all files into FGS environment... ok<br>+ Running apache-base'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 : '8000'<br>* You can start apache with : fgs start apache<br>
* *** End of Apache installation ***<br>+ Running gdal-base's installation script :<br> Oracle support needs libaio-dev package. Is this package installed? If you answer 'Y' and the library is not installed most GDAL/OGR commands will failed. [y/n]y<br>
+ Running libgeotiff-lib's installation script :<br>+ Running mapserver-base's installation script :<br>+ Running mapserver-php's installation script :<br>* php5.ini.template not found. Is php_base installed?<br>
+ Running php-base's installation script :<br>+ php5.ini file installed in /opt/fgs/www/conf/php5.ini.template<br>+ Running proj4_epsg42xxx-support's installation script :<br>+ Running proj-lib's installation script :<br>
* Module 'mapserver-php' installed with success.<br>+ Running fgs install gdal_ecw-module<br>* Probing last version of module 'gdal_ecw-module'... 1.6.1<br>+ Installing gdal_ecw-module:<br> + Getting and extracting module 'gdal_ecw-module'... ok<br>
+ Copying all files into FGS environment... ok<br>* Module 'gdal_ecw-module' installed with success.<br>+ Running fgs install libecw-base<br>* Probing last version of module 'libecw-base'... 3.3.20060906<br>
+ Installing libecw-base:<br> + Getting and extracting module 'libecw-base'... ok<br>+ Copying all files into FGS environment... ok<br>* Module 'libecw-base' installed with success.<br>+ Running fgs install postgis-lib<br>
* Probing last version of module 'postgis-lib'... 1.3.2<br>+ Installing postgis-lib:<br> + Getting and extracting module 'postgis-lib'... ok<br>+ Copying all files into FGS environment... ok<br>+ Running postgis-lib's installation script :<br>
* Module 'postgis-lib' installed with success.<br>+ Running fgs install ming-lib<br>* Probing last version of module 'ming-lib'... 0.4.2<br>+ Installing ming-lib:<br> + Getting and extracting module 'ming-lib'... ok<br>
+ Copying all files into FGS environment... ok<br>* Module 'ming-lib' installed with success.<br>+ Running fgs install python_mapscript-module<br>* Probing last version of module 'python_mapscript-module'... 5.2.1<br>
+ Installing python_mapscript-module:<br> + Getting and extracting module 'python_mapscript-module'... ok<br> + Getting and extracting module 'python-base'... ok<br>+ Copying all files into FGS environment... ok<br>
* Module 'python_mapscript-module' installed with success.<br>+ Starting FGS's daemon:<br>+ Starting 'apache':<br><br>In browser, I input "<a href="http://localhost:8000/cgi-bin/mapserv/">http://localhost:8000/cgi-bin/mapserv/</a>" and it returns "<a name="base">No query information to decode. QUERY_STRING is set, but empty</a>". So mapserver is working. There is a file called "phpinfo.php" located at /opt/fgs/www/htdocs/ directory. Then I input "<a href="http://localhost:8000/phpinfo.php">http://localhost:8000/phpinfo.php</a>" in browser, but it returns "404 Not Found The requested URL /cgi-bin/php5/phpinfo.php was not found on this server." I use firebug plugin in firefox to investigate and find in response header saying "Server<code class=""> Apache/2.2.8 (Unix)</code>". If I send same request to another running FGS (1.0) you provide in official website, it says "Server<code class=""> Apache/2.2.8 (Unix) X-Powered-By PHP/5.2.5</code>" 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>