Install Mapserver Php Mapscript Ubuntu Linux

  понедельник 24 сентября
      5

I need to upgrade from Ubuntu 14.04 to 16.04 but php5 is not officially supported on Ubuntu 16. I install php5.5 by ondrej repo but when I try to install php5-mapscript on it i get error: root@ubuntu16:~# apt-get install php5-mapscript Reading package lists. Download spiderman 2 enter electro pc free.

The string of letters and numbers listed in the right column is your serial number. Serial number phone clean mac. Once there, scroll a little over halfway down the list until you see “Serial Number” listed on the left.

Many of the supporting libraries are now available as packages, and many of the steps. Apt-get update; apt-get install php-mapscript cgi-mapserver php4.

Done Building dependency tree Reading state information. Done Package php5-mapscript is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'php5-mapscript' has no installation candidate Therefore i try to compile and install php-mapscript from scratch but i don't find any updated and working manual. So if somebody done it before or have general knowledge about mapserver compilation or if know how to install it from repositories please help. First answer Don't try to compile Mapscript on Ubuntu 16.04 with PHP as long as your PHP version is not 5.x. First answer Don't try to compile Mapscript on Ubuntu 16.04 with PHP as long as your PHP version is not 5.x. It will not work for the simple reason that supported PHP version in Ubuntu 16.04 is 7.0 and infortunately for you PHP 7 and MapScript are incompatible at the moment.

You can see the related opened issue on the official MapServer Github repository. The best solution IMO is simply to not upgrade: the support for 14.04 end in April 2019 (source) Addition You need when you compile to be sure to have PHP headers (the package is usually named php-dev or php5.6-dev) and to set the cmake option to support PHP like illustrated in the section http://www.mapserver.org/installation/unix.html#compiling.