aboutsummaryrefslogtreecommitdiff
path: root/network/suphp/README
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-05-11 15:01:36 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 15:01:36 +0200
commit950dbcc826ae0cf24cca4dff16f23614b790b90b (patch)
treef6730cd1234678f23faaf446038bcd9a2b62f22d /network/suphp/README
parent19a247802d7c1909a4757ae952ea31255f6a11b3 (diff)
network/suphp: Initial import
Diffstat (limited to 'network/suphp/README')
-rw-r--r--network/suphp/README29
1 files changed, 29 insertions, 0 deletions
diff --git a/network/suphp/README b/network/suphp/README
new file mode 100644
index 0000000000000..14cce5e7929fe
--- /dev/null
+++ b/network/suphp/README
@@ -0,0 +1,29 @@
+suPHP is a tool for executing PHP scripts with the permissions of their
+owners. It consists of an Apache module (mod_suphp) and a setuid root
+binary (suphp) that is called by the Apache module to change the uid of
+the process executing the PHP interpreter.
+
+This version was compiled to look for its config-file in /etc/apache
+rather then just /etc as 'httpd' looks there aswell.
+
+Some of the 'standard' /etc/apache/httpd.conf directives include:
+
+ LoadModule suphp_module /usr/libexec/apache/mod_suphp.so
+ suPHP_Engine on
+ AddHandler x-httpd-php .php
+ suPHP_AddHandler x-httpd-php
+ suPHP_UserGroup someuser users
+
+To use different php versions 'per vhost' see:
+http://www.howtoforge.com/apache2_suphp_php4_php5
+
+suPHP needs a CGI build of the .php interpreter, usually named 'php-cgi'
+implying having to (re)compile PHP with in place of '--with-apxs'
+
+ '--enable-force-cgi-redirect'
+
+Note that it being somewhat slower then mod_php can be redused
+(grately) by building for the FastCGI too and using mod_fcgid
+however that would need additional configuration, see:
+http://fastcgi.coremail.cn/configuration.htm
+