There were changes in MapServer 5.0 in the way CGI variables are passed...so you might try to replace that "map_web_imagepath" line in your hello.html with something like: value="imagepath /ms4w/tmp/ ms_tmp/ imageurl /ms_tmp/" 但是使用上面也不行。直接删除掉可以。