X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/cdc201f4b298f5c13786d690aa2bb3d84123ee59..9a2be3a8496bdf04794c14d84aa3a5017c8fb8db:/roles/apache/templates/php5.conf diff --git a/roles/apache/templates/php5.conf b/roles/apache/templates/php5.conf new file mode 100644 index 0000000..8b6e856 --- /dev/null +++ b/roles/apache/templates/php5.conf @@ -0,0 +1,17 @@ +# FCGID-Config +# PHP should not terminate itself, let FCGID do that +FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000 +FcgidMaxRequestsPerProcess 500 +FcgidMaxProcesses 16 +# Allow requests up to 8MB +FcgidMaxRequestLen 8388608 + + +# macro to allow executing PHP scripts + + Options +ExecCGI + FcgidWrapper $wrapper .php + + SetHandler fcgid-script + +