Advertisement
Guest User

fcgid.conf

a guest
Feb 21st, 2012
931
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. <IfModule fcgid_module>
  2. FcgidInitialEnv PHPRC "d:\\wamp\\php"
  3. FcgidInitialEnv PATH "d:\\wamp/php;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;"
  4. FcgidInitialEnv SystemRoot "C:\\Windows"
  5. FcgidInitialEnv SystemDrive "C:"
  6. FcgidInitialEnv TEMP "C:\\WINDOWS\\Temp"
  7. FcgidInitialEnv TMP "C:\\WINDOWS\\Temp"
  8. FcgidInitialEnv windir "C:\\WINDOWS"
  9.  
  10. # FcgidIOTimeout seconds (40)
  11. # This is the maximum period of time the module will wait while trying to read from or write to a FastCGI application.
  12. FcgidIOTimeout 40
  13.  
  14. # FcgidConnectTimeout seconds (3)
  15. # This is the maximum period of time the module will wait while trying to connect to a FastCGI application on Windows. (This directive is not respected on Unix, where AF_UNIX defaults will apply.)
  16. FcgidConnectTimeout 3
  17.  
  18. # FcgidMaxProcesses value (1000)
  19. # This directive sets the maximum number of FastCGI application processes which can be active at one time.
  20. FcgidMaxProcesses 1000
  21.  
  22. # FcgidOutputBufferSize bytes (65536)
  23. # This is the maximum amount of response data the module will read from the FastCGI application before flushing the data to the client.
  24. FcgidOutputBufferSize 65536
  25.  
  26. # FcgidProcessLifeTime seconds (3600)
  27. # Idle application processes which have existed for greater than this time will be terminated, if the number of processses for the class exceeds FcgidMinProcessesPerClass. A value of 0 disables the check.
  28. FcgidProcessLifeTime 3600
  29.  
  30. # ZombieScanInterval n (3 seconds)
  31. # The scan interval for zombie process.
  32. FcgidZombieScanInterval 3
  33.  
  34. # FcgidMaxRequestsPerProcess value (0)
  35. # FastCGI application processes will be terminated after handling the specified number of requests. A value of 0 disables the check.
  36. # FcgidMaxRequestsPerProcess 10000
  37. FcgidMaxRequestsPerProcess 500
  38.  
  39. # FcgidMinProcessesPerClass value (3)
  40. # This directive sets the minimum number of processes that will be retained in a process class after finishing requests.
  41. # This setting will apply to all applications spawned for this server or virtual host.
  42. # FcgidMinProcessesPerClass 0
  43. FcgidMinProcessesPerClass 0
  44.  
  45. # FcgidFixPathinfo 1-0 (0)
  46. # This directive enables special SCRIPT_NAME processing which allows PHP to provide additional path information. The setting of FcgidFixPathinfo should mirror the cgi.fix_pathinfo setting in php.ini
  47. FcgidFixPathinfo 0
  48.  
  49. # FcgidMaxRequestInMem bytes (65536)
  50. # This module reads the entire request body from the client before sending it to the application.
  51. # Normally the request body will be stored in memory. Once the amount of request body read from the client exceeds FcgidMaxRequestInMem bytes, the remainder of the request body will be stored in a temporary file.
  52. MaxRequestInMem 16777216
  53.  
  54. # FcgidMaxRequestLen bytes (1073741824)
  55. # If the size of the request body exceeds this amount, the request will fail with 500 Server Error.
  56. MaxRequestLen 1073741824
  57.  
  58. # IPCConnectTimeout n (3 seconds)
  59. # The connect timeout to a fastcgi application.
  60. IPCConnectTimeout 3
  61.  
  62. # IPCCommTimeout n (20 seconds)
  63. # The communication timeout to a fastcgi application. Please increase this
  64. # value if your CGI have a slow initialization or slow respond.
  65. IPCCommTimeout 360
  66.  
  67. <Files ~ "\.php$">
  68. Options Indexes FollowSymLinks ExecCGI
  69. AddHandler fcgid-script .php
  70. FcgidWrapper "d:/wamp/php/php-cgi.exe" .php
  71. </Files>
  72. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement