[svn-inject] Applying Debian modifications to trunk
[manu/suphp.git] / doc / en / apache / CONFIG
1 ===========================
2 == suPHP Apache module   ==
3 ===========================
4
5 Configuration
6 -------------
7
8 mod_suphp knows two configuration directives:
9
10 suPHP_Engine (can either be turned "on" or "off")
11
12 This option tells mod_suphp if a PHP-script requested on this server (or
13 VirtualHost) should be run with the PHP-interpreter or returned to the
14 browser "as it is".
15
16 This directive can be used in the global context or in a
17 "<VirtualHost>"-directive.
18
19
20 suPHP_ConfigPath (expects a path name)
21
22 This option tells mod_suphp which path to pass on to the PHP-interpreter
23 (by setting the PHPRC environment variable).
24 Do *NOT* refer to a file but to the directory the file resists in.
25
26 E.g.: If you want to use "/path/to/server/config/php.ini", use "suPHP_Config
27 /path/to/server/config".
28
29 If you don't use this option, PHP will use its compiled in default path.
30
31
32 suPHP_UserGroup (expects user- and groupname)
33
34 * Only supported when compiled with setid-mode "force" or "paranoid" *
35 Specify the user- and groupname to run PHP-scripts with.
36 Example: suPHP_UserGroup foouser bargroup
37
38
39 ===================================
40 (c)2002-2004 by Sebastian Marsching
41 <sebastian@marsching.com>
42 Please see LICENSE for
43 additional information