0

I am using Ubuntu 18.10 /x64 / Apache2.

I wish to install MapServer on my system. The packages can be obtained from this place: https://launchpad.net/ubuntu/+source/mapserver/7.2.0-5/+build/15292173 or by activating the proposed repository.

When I went to the MapServer website, it asks about compiling the whole thing. I found that it requires PHP5, whereas the 18.10 distribution provided PHP7. There are several inconsistencies in the documentation provided therein (i.e. MapServer website), and the actual packages. For example, the CMAKE utility asks for one libsvgcairo-dev, whereas I cannot locate any repository like that.

Overall the compilation fails.

If I install from the proposed distribution, I cannot find the php_mapscript.so, which is required for the Apache WebServer. Nor can I find any documentation related to launching the MapServer as a CGI.

I do not wish to use OSGEO Live.

1
  • Hopefully you have already managed to install and run MapServer but as a note for other readers, php_mapscript.so is certainly not required for the Apache WebServer.
    – user30184
    Commented Oct 8, 2021 at 23:34

1 Answer 1

-1

On Ubuntu you can install using apt-get Sudo apt-get install cgi-mapserver mapserver-bin apache2

2
  • The question was regarding the configuration post installation of these packages.
    – Indian
    Commented Mar 25, 2019 at 2:08
  • 1
    I guess Im confused cause you are talking about compiling the mapserver. And so that is why I suggest the apt-get . Also php is not really necessary for mapserver unless you use mapscript. I have been working on a document describing how to setup mapserver but I've not published it yet. If you can give me more specifics of the installation steps you have done then that would be helpful. Commented Mar 31, 2019 at 15:53

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.