README-php 980 B

12345678910111213141516171819202122
  1. $OpenBSD: README-php,v 1.3 2014/05/18 09:29:50 landry Exp $
  2. +-----------------------------------------------------------------------
  3. | Running ${FULLPKGNAME} on OpenBSD
  4. +-----------------------------------------------------------------------
  5. You can enable this module by creating a symbolic
  6. link from ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/mapscript.ini to
  7. ${SYSCONFDIR}/php-${MODPHP_VERSION}/mapscript.ini.
  8. # ln -fs ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/mapscript.ini \
  9. ${SYSCONFDIR}/php-${MODPHP_VERSION}/mapscript.ini
  10. If you plan to use PHP mapscript extension with a chrooted web server, make
  11. sure to copy the libs needed by mapscript.so file binary from ${LOCALBASE}/lib,
  12. but also the projection definitions from libgeotiff and proj packages to the
  13. chroot:
  14. # mkdir -p /var/www/${LOCALBASE}/share/{epsg_csv,proj}
  15. # cp ${LOCALBASE}/share/epsg_csv/* /var/www/${LOCALBASE}/share/epsg_csv
  16. # cp ${LOCALBASE}/share/proj/* /var/www/${LOCALBASE}/share/proj