Cross Platform Pains For Data Nerds, PHP On Microsoft IIS

While trying to run php codes on Microsoft Internet Information systems we often face problems where the php part is ignored and we get the html debug codes. So if we are not using apache on linux how can we efficiently configure IIS for php without having to run two separate servers to host different parts of the same system ?
