aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/php/conf/mod_php4.conf.example (renamed from patches/php/conf/mod_php.conf.example)0
-rw-r--r--patches/php/conf/mod_php5.conf.example12
2 files changed, 12 insertions, 0 deletions
diff --git a/patches/php/conf/mod_php.conf.example b/patches/php/conf/mod_php4.conf.example
index 7adf6e0b..7adf6e0b 100644
--- a/patches/php/conf/mod_php.conf.example
+++ b/patches/php/conf/mod_php4.conf.example
diff --git a/patches/php/conf/mod_php5.conf.example b/patches/php/conf/mod_php5.conf.example
new file mode 100644
index 00000000..e46a5b10
--- /dev/null
+++ b/patches/php/conf/mod_php5.conf.example
@@ -0,0 +1,12 @@
+#
+# mod_php - PHP Hypertext Preprocessor module
+#
+
+# Load the PHP module:
+LoadModule php5_module libexec/apache/libphp5.so
+
+# Tell Apache to feed all *.php files through the PHP module:
+AddType application/x-httpd-php .php
+
+# This will display PHP files in colored syntax form. Use with caution.
+#AddType application/x-httpd-php-source .phps