summaryrefslogtreecommitdiffstats
path: root/network/suphp/README.SLACKWARE
diff options
context:
space:
mode:
author Menno Duursma <druiloor@zonnet.nl>2010-05-12 17:44:15 +0200
committer Robby Workman <rworkman@slackbuilds.org>2010-05-12 17:44:15 +0200
commitf8d56146fdf8f4ea9e0b4eb34db68eb2dfc1a375 (patch)
tree3cf3f4187e631c3b63d728751dceefb5541fb02b /network/suphp/README.SLACKWARE
parent633d26a36c9442789a3898508ad14b40589ad070 (diff)
downloadslackbuilds-f8d56146fdf8f4ea9e0b4eb34db68eb2dfc1a375.tar.gz
slackbuilds-f8d56146fdf8f4ea9e0b4eb34db68eb2dfc1a375.tar.xz
network/suphp: Updated for version 0.7.1
Diffstat (limited to 'network/suphp/README.SLACKWARE')
-rw-r--r--network/suphp/README.SLACKWARE42
1 files changed, 42 insertions, 0 deletions
diff --git a/network/suphp/README.SLACKWARE b/network/suphp/README.SLACKWARE
new file mode 100644
index 0000000000..b3aaa7451b
--- /dev/null
+++ b/network/suphp/README.SLACKWARE
@@ -0,0 +1,42 @@
+suphp README.SLACKWARE
+
+This version was compiled to look for its config file in /etc/httpd
+rather then just /etc as 'httpd' looks there aswell.
+
+To enable this make sure to disable mod_php first, then (after editing
+as needed for your site) add to /etc/httpd/httpd.conf:
+
+ Include /etc/httpd/mod_suphp.conf
+
+Unlike suEXEC, suPHP tries to fix variables like $_SERVER['SCRIPT_NAME']
+
+Apache php_* directives in .htaccess files will only work if you install
+the 'htscanner' PHP extension (available from SBo also). However, not
+every setting will work that way; using a php.ini per vhost is another
+option available, configurable in /etc/http/mod_suphp.conf
+
+Upon each connection getpwnam() and similar user-db functions are run,
+which may hinder performance on systems with many accounts (or that use
+some kind of external db system) in which case running 'nscd' may help:
+http://groups.google.nl/group/alt.os.linux.slackware/msg/7032b8ec0e2b11b3
+
+To use different php versions 'per vhost' see:
+http://www.howtoforge.com/apache2_suphp_php4_php5
+
+==
+
+Note on capabilities: FCAPS=true
+
+Which, if set, will install the wrapper non-setuid. For this to work
+however filesystem support must be available (ext3 has this support).
+Your backup tool might ignore, or not know about, extended attribs...
+
+Besides the 'apache' user must be able to write to its logfile, e.g.
+drwxrwxr-x 2 root apache 4096 2009-04-05 00:29 /var/log/httpd
+-rw-rw-r-- 1 root apache 2212 2009-04-05 13:45 /var/log/httpd/suphp_log
+Which might have some consequence in logrotate configuration too.
+
+In case Apache is chrooted (for instance with mod_chroot available from
+SBo as well), breaking out should be much harder if installed this way, as
+ptrace, chroot, etc will be unavailable to get via suphp within the jail.
+