1

I use this to compile mapserver

cd /opt/
wget http://download.osgeo.org/mapserver/mapserver-6.2.0.tar.gz
tar xvf mapserver-6.2.0.tar.gz
cd mapserver-6.2.0
./configure --with-ogr=/usr/local/bin/gdal-config --with-gdal=/usr/local/bin/gdal-config --with-httpd=/usr/sbin/httpd --with-wfs --with-wfsclient --with-wmsclient --enable-debug --with-curl-config=/usr/bin/curl-config --with-proj=/usr/local --with-tiff --with-gd=/usr/bin/gdlib-config --with-jpeg --with-freetype=/usr/include --with-threads --with-wcs --with-xml2-config=/usr/bin/xml2-config --with-postgis=/usr/local/pgsql/bin/pg_config --with-geos=/usr/local/bin/geos-config --with-sos --with-agg --with-agg=/usr/local --with-php=/usr/bin/php-config
make
make install
ldconfig

I work on Centos 6.3 x64

After the compile i do not find the php_mpscript.so in the right location (./mapscript/php).

This affect my GeoMose install, giving me 500 error for apache in accesing the geomose .php files. I think this is because MapServer is not compiled.

Any clue? Thanks!

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.