Does the directory you're writing to exist? Does the user that apache2 is running as have write access to that directory? Hal > $map->save("/var/www/apache2-default/erik/map_files/test"); >