aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-11-22 15:54:04 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-11-22 15:54:04 +0000
commite319edcb4e80bfb4587fda6f44b5d4a2c616bfa7 (patch)
tree0ff70a0983f7720eaa8c5fc1bfcce6a135a7c172 /patches
parentdbff2026980b443c3afa4f9af5122c52a6bc8e7c (diff)
downloadslackbuilds-e319edcb4e80bfb4587fda6f44b5d4a2c616bfa7.tar.gz
slackbuilds-e319edcb4e80bfb4587fda6f44b5d4a2c616bfa7.tar.bz2
php: updated mod_php conf example
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1465 370017ae-e619-0410-ac65-c121f96126d4
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