[mapserver-users] How to Check if MapScript is Enabled?

Bill Thoen bthoen at gisnet.com
Wed Aug 19 13:00:53 PDT 2009


Andy Colson wrote:
> The program mapserv is not required for mapscript.  To find out if its 
> in php, view the php info, which is easiest with a page like:
>
> <?PHP
>    echo phpinfo();
> ?>
>
> To see if its in perl, at a command line, type:
>
> perl -Mmapscript -e ''
>
> if nothing happens, your golden, otherwise you'll get an error saying 
> it cant locate mapscript.pm.
When I tried php -r "echo phpinfo();" | grep -i mapscript on the command 
line nothing came up, and when I tried perl -Mapscript -e '' I got 
"can't find" errors, so I guess that means that mapscript is not on 
board. Thanks for the help; I think I know where to go from here. (If 
not, then I'll be back.)



More information about the MapServer-users mailing list