[MS4W-Users] Adding MapScript to Aptana Studio
jmckenna at gatewaygeomatics.com
Thu Jul 30 19:33:47 EST 2009
Ian Tidy wrote:
> I am trying to add the php_mapscript.dll (and dependencies) to Aptana
> Studio. I have copied across the php_mapscript.dll file, and the DLLs
> and EXEs from the \MS4W\Apache\cgi-bin directory (that don't already exist).
> My PHP page starts to work, but now it is complaining at
> 'msProcessProjection()', the PHP code it is failing on is "$map =
> ms_newMapObj($map_path . $map_file);"
> Any ideas??
One quick solution could be to not use any projections in your mapfile.
Also, MS4W's Apache instance has the PROJ_LIB environment variable set
in in httpd.conf, maybe your configuration does not? Or, you could also
set that variable in the MAP object of the mapfile.
Just my quick thoughts...maybe others can comment.
FOSS4G Consulting and Training Services
More information about the MS4W-Users