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
commitb3e0ade88ce863b452efc83d003485b64399e89a (patch)
treee5e48e95d7eb1829bad26a51c54c91d52e4e8e89 /php.conf
repo reorg
Diffstat (limited to 'php.conf')
-rw-r--r--php.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/php.conf b/php.conf
new file mode 100644
index 0000000..bb0f180
--- /dev/null
+++ b/php.conf
@@ -0,0 +1,28 @@
+#
+# PHP is an HTML-embedded scripting language which attempts to make it
+# easy for developers to write dynamically generated webpages.
+#
+<IfModule prefork.c>
+ LoadModule php5_module modules/libphp5.so
+</IfModule>
+<IfModule worker.c>
+ LoadModule php5_module modules/libphp5-zts.so
+</IfModule>
+
+#
+# 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