Hey guys, I am in a bit of a tight spot here because I cannot figure out why my PHP instance is not functioning at all.
I have IIS 8 installed on Windows Server 2012 R2, and have PHP 5.3 and 5.6 installed through the WPI. In the FastCGI settings in the IIS manager I have max instances set to 16 (dual core processor). I have the php version registered in the menu and the error
reporting set to development machine.
Whenever I try to access a phpinfo page (or any php page for that matter) (tried this on localhost, from the net, in both IE and chrome) I simply get a 500 internal server error, no data on it, and no logs are generated on my server. If I try to access
a .php file that doesn't exist, I get my standard 404 error. My error reporting in my php.ini is set to E_ALL but still no logs are generated.
I have seen that happen before if something was wrong with the CGI install. Try removing CGI via the features. Reboot and reinstall and see if that fixes the issue.
1 Post
PHP Install on IIS 8 Issues
Feb 07, 2015 12:08 AM|TheJTShow|LINK
Hey guys, I am in a bit of a tight spot here because I cannot figure out why my PHP instance is not functioning at all.
I have IIS 8 installed on Windows Server 2012 R2, and have PHP 5.3 and 5.6 installed through the WPI. In the FastCGI settings in the IIS manager I have max instances set to 16 (dual core processor). I have the php version registered in the menu and the error reporting set to development machine.
Whenever I try to access a phpinfo page (or any php page for that matter) (tried this on localhost, from the net, in both IE and chrome) I simply get a 500 internal server error, no data on it, and no logs are generated on my server. If I try to access a .php file that doesn't exist, I get my standard 404 error. My error reporting in my php.ini is set to E_ALL but still no logs are generated.
Any ideas?? Any help would be much appreciated.
Justin
troubleshooting
908 Posts
MVP
Re: PHP Install on IIS 8 Issues
Feb 11, 2015 04:59 PM|terridonahue|LINK
I have seen that happen before if something was wrong with the CGI install. Try removing CGI via the features. Reboot and reinstall and see if that fixes the issue.
troubleshooting
Microsoft MVP ASPNET/IIS
Please 'Mark as Answer' if this post helps you.