summaryrefslogtreecommitdiffstats
path: root/php/apache.conf
diff options
context:
space:
mode:
Diffstat (limited to 'php/apache.conf')
-rw-r--r--php/apache.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/php/apache.conf b/php/apache.conf
new file mode 100644
index 0000000..86344c8
--- /dev/null
+++ b/php/apache.conf
@@ -0,0 +1,9 @@
+# Required modules: dir_module, php5_module
+
+<IfModule dir_module>
+ <IfModule php5_module>
+ DirectoryIndex index.php index.html
+ AddHandler application/x-httpd-php .php
+ AddHandler application/x-httpd-php-source .phps
+ </IfModule>
+</IfModule> \ No newline at end of file