php include() causing fastcgi errors?

Soldato
Joined
19 Dec 2006
Posts
10,525
Location
UK
I've just doen a quick and dirty (don't even get me started on the time scales he left me) update of a friends website which was working just fine over the weekend, however this morning it's starting throwing errors at us.

It needs a lot of work yet and I was using php includes to get each page to use a single file for navigation, footer and a sidebar area, however it is now throwing the following error:

FastCGI Error
The FastCGI Handler was unable to process the request.
--------------------------------------------------------------------------------

Error Details:
•The FastCGI pool queue is full
•Error Number: 4 (0x80070004).
•Error Description: The system cannot open the file.

HTTP Error 500 - Server Error.
Internet Information Services (IIS)

I am struggling to understand why a php include would cause this unless I am missing some new security feature, more than possible as it has been a while.

PHP:
<?php include("navigation.html");?>

Is the format of my include statement, it is the only php code used in the entire website.

Any ideas would be great.

Thanks.
 
Last edited:
I'd say post the included file but a quick google shows people who are having similar (Though not identical) issues solving them through changes to FastCGI's configuration, and I've no experience with that :(
 
That's just what I am discovering, wonder if it was an update to the server that has caused it, currently editing all the pages to remove the include aspect.
 
What happens when you replace the entire includes contents with something like "<p>Hello World</p>", does it work then? If so might be worth gradually bringing all the original content back till you find the problem area.

If it was an update and it's only affecting one specific area you may be able to work around the issue.
 
Will try that later on, just finishing the non-php version to upload, thank crunchie for notepad++ and it's excellent find and replace functions :)
 
Ok, definite server issues, phpinfo() is causing the same error, not quite sure why I didn't try that in the first place lol...

Thanks for the input all.
 
Weird, just got a response from the host tech support informing us that its because we have a windows based server. No explanation as to why its been quite happily working for around a year.
 
Back
Top Bottom