PHP Mapscript extension
Project homepage: https://www.mapserver.org/
Description
MapServer is a system for developing web-based GIS applications.
The basic system consists of a CGI program that can be configured to
respond to a variety of spatial requests like making maps, scalebars,
and point, area and feature queries. Virtually all aspects of an
application, from web interface to map appearance can be developed
without any programming.
This package contains the PHP Mapscript extension.
Package information
- Ports path
- geo/mapserver,-php
- Package architecture
- amd64
- Maintainer
- Landry Breuil <landry@openbsd.org>
- Categories
- geo, www, lang/php, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa, m88k, sh
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Library
Runtime
- lang/php/8.3 php->=8.3,<8.4
Build
- databases/postgresql,-server
- devel/swig
- devel/py-pip
- devel/py-setuptools
- lang/php/8.3 php->=8.3,<8.4
- lang/python/3
- devel/cmake/core STEM->=4
- devel/ninja
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-----------------------------------------------------------------------
| Running php-mapscript on OpenBSD
+-----------------------------------------------------------------------
You can enable this module by creating a symbolic
link from ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/mapscriptng.ini to
${SYSCONFDIR}/php-${MODPHP_VERSION}/mapscriptng.ini.
# ln -fs ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/mapscriptng.ini \
${SYSCONFDIR}/php-${MODPHP_VERSION}/mapscriptng.ini
If you plan to use PHP mapscript extension with a chrooted web server, make
sure to copy the libs needed by mapscriptng.so file binary from ${LOCALBASE}/lib,
but also the projection definitions from proj package to the chroot:
chroot:
# mkdir -p /var/www${LOCALBASE}/share/proj
# cp ${LOCALBASE}/share/proj/* /var/www${LOCALBASE}/share/proj