This script is for Slackware 11.0 only and may be outdated.

SlackBuilds Repository

11.0 > Network > suphp (0.6.2)

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/
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:

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'


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:

Maintained by: Menno Duursma
Keywords: apache,php,isp,security,hardening
ChangeLog: suphp


Source Downloads:
suphp-0.6.2.tar.gz (06ca9e592a5c6dd3dcb9360c958369c1)

Download SlackBuild:
suphp.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 11.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds