So I am running Windows Server 2012 with IIS 8.
I have tried many things to get PHP working, so I have installed PHP 5.5 via Web platform installer and also installed CGI prior to that via server manager.
When I try to load the page, I get this error message which I don't seem to be able to solve:
Anyone have any solutions?
Regards
Check to ensure your PHP actually runs from the command line. E.g. cd to the directory where PHP has been installed and then run "php -v". PHP should show it's version details or display errors if you are missing some system files.
Check the Windows Event Log and look for errors around the time you load your webpage in IIS. There should be more detailed error messages about missing DLLs or configuration problems.
I suspect you may not have the Visual C++ Redistributable for Visual Studio 2012 required by PHP 5.5. Not sure if the Web Platform installer installs this for you. Go to Add/Remove programs and see if you have this installed. The errors from one of the above sources should also help tell you if this is your problem.