Two police officers and four civilians were wounded on Friday during a shooting spree in Philadelphia where the suspect was later killed by responding officers, police said.