Each time I start apache , it always fails. The issue is in loadmodulephp5... The mistake log:[warn] pid file C:/home windows/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run? I attempted to remove this file after which start apache.But this file have been produced again. Any solution?

Try not setting up apache into OS directory. As well as, only use xampp / wamp / zend server / whatever.