I am getting a "500 - Internal Server Error" from the outside, the local connection gives me the 500 error as well as long with some more debugging information. The problem seems to be with FastCgiModule:
HTTP Error 500.0 - Internal Server Error
An unknown FastCGI error occured
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP_via_FastCGI
Error Code 0x80070005
I ran the command to test the connection by force running cgi:
"C:\Program Files (x86)\PHP\php-cgi.exe" <path to website>
That did output the PHP/HTML code, not the 500 error. I believe the problem has to lie with the IIS. The server was up and running fine on Friday and no changes were made that I am aware of. A restart of the server changed nothing, still displays the error.
Hope I provided this to the correct website/forum. Does anybody know why I would be getting this error?
EDIT: Added in 500 error and "Unknown FastCGI error occured"
The 500 error may be caused because the user running C:\Program Files (x86)\PHP\php-cgi.exe
doesn't have proper permissions on the directory containing your PHP files.
I had an identical error message and found out the problem was a missing dll, msvcr71.dll. I found a copy of this dll under Mysql and copied it to
C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\
directory, and also, just in case to C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\etc
directory.
Control Panel >> All Control Panel Items >> Administrative Tools >> Internet Information Services (IIS) Manager >>
under 'Connections' select 'Sites', then select 'Default Web Site' (all at 1st column) select 'Handler Mappings' (2nd column), double-click, a list woth Handler Mappings shall open, then select the service that is not running (exemple c:\php5\php-cgi.exe via his nickname) and make that becomes 'Inherited' (as 'Entry Type')
Shall work-
Friqui
User contributions licensed under CC BY-SA 3.0