XAMPP is a good alternative to test your PHP code. But (IMHO), for production code, it is better to use a Linux (LAMP) Server. But if you want to publish your site directly in your XAMPP, you must read this: http://www.apachefriends.org/en/xampp-windows.html#1221
I'm very confused on this one to be honest C Compiler well gcc comes to mind If this is about PHP environments. In a windows environment I like to use www.easyphp.org. Then of course port it over to a real web server on linux that is running Apache