Related topic #1 (covers question about $cfg->dataroot "rules" and file cacheing):
Related topic #2 (my proposed move procedure--at least the one I used for my recent moodle-server migration from one machine/domain to another):
I hope this all helps,
ps: I have used XAMPP 1.4.5 on MS Windows (although I would prefer a unix-based system...but I'm constrained by corporate IT stuff here); note that XAMPP does port to unix-based solutions as well, making it a nice "web-server platform" to use across multiple operating systems. I have used EasyPHP in conjunction with moodle and my other server apps. I find XAMPP to be a superior product (don't forget to run the phpswitch-to-php4.bat...or whatever it's called...to switch from php5 to php4!).