My PHP is in IIS mode. The following Error occurs today: FastCGI Error the FastCGI Handler was unable to process The request. // FastCGI cannot process the request. This error occurs most often when PHP is run in FastCGI mode in IIS, because php. ini configuration problems, not to mention, here is a direct solution, not a waste of time.
1. Open php. ini and find register_globals = Off. Change it:
 
 
  
   | The code is as follows: | Copy code | 
 
  
   | Register_globals = On | 
 
Note that the comment above this line, that is, semicolon (;), is removed and the global variable function of PHP is enabled.
2. Configure the FastCGI File: modify the maxInstances value:
 
 
  
   | The code is as follows: | Copy code | 
 
  
   | [Types]Php = PHP
 [PHP]
 ExePath = D: \ php_5.2.3 \ php-cgi.exe
 Instancemax requests = 10000
 MaxInstances = 300
 EnvironmentVars = PHP_FCGI_MAX_REQUESTS: 10000
 RequestTimeout = 500
 ActivityTimeout = 900
 | 
 
If the above method cannot be solved
Copy msvcr71.dll to your system directory.
 
 
  
   | The code is as follows: | Copy code | 
 
  
   | C:/Windows/System/System32C:/Windows/System
 C:/Windows
 | 
 
3. Optimize the IIS application pool
Set the maximum memory used to 2048 MB. You can also try other values. You can manually modify the value and try again. The value I changed may not be suitable for you. After the above modification, restart IIS.