16 lines
742 B
Plaintext
16 lines
742 B
Plaintext
You can enable this module by creating a symbolic
|
|
link from ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/mapscript.ini to
|
|
${SYSCONFDIR}/php-${MODPHP_VERSION}/mapscript.ini.
|
|
|
|
# ln -fs ln -fs ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/mapscript.ini \
|
|
${SYSCONFDIR}/php-${MODPHP_VERSION}/mapscript.ini
|
|
|
|
If you plan to use PHP mapscript extension with a chrooted httpd(8), make
|
|
sure to copy the libs needed by mapscript.so file binary from ${LOCALBASE}/lib,
|
|
but also the projection definitions from libgeotiff and proj packages to the
|
|
chroot:
|
|
|
|
# mkdir -p /var/www/${LOCALBASE}/share/{epsg_csv,proj}
|
|
# cp ${LOCALBASE}/share/epsg_csv/* /var/www/${LOCALBASE}/share/epsg_csv
|
|
# cp ${LOCALBASE}/share/proj/* /var/www/${LOCALBASE}/share/proj
|