From f8d56146fdf8f4ea9e0b4eb34db68eb2dfc1a375 Mon Sep 17 00:00:00 2001 From: Menno Duursma Date: Wed, 12 May 2010 17:44:15 +0200 Subject: network/suphp: Updated for version 0.7.1 --- network/suphp/README.SLACKWARE | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 network/suphp/README.SLACKWARE (limited to 'network/suphp/README.SLACKWARE') 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. + -- cgit v1.2.3