N/APosted on - 07/22/2016
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 ?
Cross Platform Pains For Data Nerds, PHP On Microsoft IIS
This problem can be solved in most cases by configuring IIS to manage php requests. Which can be done by downloading the binaries for php manager from IIS download page.
Note: IIS 7.0 and above support this feature
After installation is complete we just have to get to the php manager from the iis manager.
Getting a new php version configured:
From IIS manager we can go to PHP manager and find the register new version option. From that we can add a new version zip of php which has been pre-downloaded.
Validating Existing php version when misconfigured:
Generally the optimal configuration settings recommendation is generated by IIS manager itself. The recommended settings would guide you through all configuration issue that your php version may have.