summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/php/files/70_mod_php5_concurr.conf-apache2')
-rw-r--r--dev-lang/php/files/70_mod_php5_concurr.conf-apache217
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-lang/php/files/70_mod_php5_concurr.conf-apache2 b/dev-lang/php/files/70_mod_php5_concurr.conf-apache2
new file mode 100644
index 0000000..f95db6f
--- /dev/null
+++ b/dev-lang/php/files/70_mod_php5_concurr.conf-apache2
@@ -0,0 +1,17 @@
+<IfDefine PHP5>
+
+ # Load the module first
+ <IfModule !mod_php5.c>
+ LoadModule php5_module modules/libphp5.so
+ </IfModule>
+
+ # Set it to handle the files
+ <IfModule mod_mime.c>
+ AddType application/x-httpd-php5 .php
+ AddType application/x-httpd-php5 .phtml
+ AddType application/x-httpd-php5 .php5
+ AddType application/x-httpd-php5-source .phps
+ </IfModule>
+
+ AddDirectoryIndex index.php index.phtml
+</IfDefine>