summaryrefslogtreecommitdiffstats
path: root/php.conf
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-10 07:12:19 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-10 07:12:19 +0200
commit7f31c8be6abd4c5ddb0228e54555d92351ae600d (patch)
tree3e8ccbc59f0c04243aa06fb7c046c4305a27c271 /php.conf
repo reorg
Diffstat (limited to 'php.conf')
-rw-r--r--php.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/php.conf b/php.conf
new file mode 100644
index 0000000..0013860
--- /dev/null
+++ b/php.conf
@@ -0,0 +1,17 @@
+#
+# Cause the PHP interpreter to handle files with a .php extension.
+#
+AddHandler php5-script .php
+AddType text/html .php
+
+#
+# Add index.php to the list of files that will be served as directory
+# indexes.
+#
+DirectoryIndex index.php
+
+#
+# Uncomment the following line to allow PHP to pretty-print .phps
+# files as PHP source code:
+#
+#AddType application/x-httpd-php-source .phps