Xamp compatible with php
Are you perhaps referring to XAMPP? If so, I'd recommend you take a look at their website to learn what the first 'P' stands for.
how to install and configure with Php in window 7 ?
Once you've learned that the first 'P' in 'XAMPP' stands for PHP (belated spoiler alert!), you'll have to clarify what you're asking here; are you looking to install XAMPP alongside an existing PHP installation despite the fact that PHP is already included in the bundle of software?
Either way, visit the Windows FAQ page to answer your question (and more).