apache http stops working xampp when i execute any db related files in xampp, even i uninstalled team viewr from my (window7 ultimate)

To be very honest with you, Windows 7 and XAMPP cannot co-exist. They just hate each other.

There are many alternatives out there for your OS. There are WAMPP, Uniform Server, and Nginx for windows. These applications were proven to work with Windows7.

If those items mentioned above, does not work for you, try Usbwebserver . I am recommending this to you because you can change the port to prevent any conflicts with any running windows 7 applications.