aboutsummaryrefslogtreecommitdiff
path: root/patches/php/conf/mod_php5-apache2.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'patches/php/conf/mod_php5-apache2.conf.example')
-rw-r--r--patches/php/conf/mod_php5-apache2.conf.example12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/php/conf/mod_php5-apache2.conf.example b/patches/php/conf/mod_php5-apache2.conf.example
new file mode 100644
index 00000000..2707a2be
--- /dev/null
+++ b/patches/php/conf/mod_php5-apache2.conf.example
@@ -0,0 +1,12 @@
+#
+# mod_php - PHP Hypertext Preprocessor module
+#
+
+# Load the PHP module:
+LoadModule php5_module lib/httpd/modules/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