You can enable this module by creating a symbolic
link from /usr/local/conf/php5.sample/mapscript.ini to
/usr/local/conf/php5/mapscript.ini.

#ln -fs /usr/local/conf/php5.sample/mapscript.ini \
	/usr/local/conf/php5/mapscript.ini

If you plan to use PHP mapscript extension with a chrooted httpd, make
sure to copy the libs needed by mapscript.so file binary from /usr/local/lib,
but also the projection definitions from libgeotiff and proj packages to the
chroot:

# mkdir -p /usr/local//usr/local/share/{epsg_csv,proj}
# cp /usr/local/share/epsg_csv/* /usr/local//usr/local/share/epsg_csv
# cp /usr/local/share/proj/* /usr/local//usr/local/share/proj
