1 ===========================
2 == suPHP Apache module ==
3 ===========================
8 mod_suphp knows the following configuration directives:
10 suPHP_Engine (can either be turned "on" or "off")
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
16 This directive can be used in the global context or in a
17 "<VirtualHost>"-directive.
20 suPHP_ConfigPath (expects a path name)
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.
26 E.g.: If you want to use "/path/to/server/config/php.ini", use "suPHP_Config
27 /path/to/server/config".
29 If you don't use this option, PHP will use its compiled in default path.
32 suPHP_UserGroup (expects user- and groupname)
34 * Only supported when compiled with setid-mode "force" or "paranoid" *
35 Specify the user- and groupname to run PHP-scripts with. This setting
36 can only be used within a <Directory> or <Location> context.
37 Example: suPHP_UserGroup foouser bargroup
40 suPHP_AddHandler <mime-type>
42 Tells mod_suphp to handle requests with the type <mime-type>.
43 Please note this only works, if an action for the handler is specified
44 in the suPHP configuration file. Settings on per-directory level supersede
45 settings made on per-server level.
48 suPHP_RemoveHandler <mime-type>
50 Tells mod_suphp NOT to handle requests with the type <mime-type>. This will
51 override the suPHP_AddHandler setting made on a higher configuration level.
54 suPHP_PHPPath (expects a path name)
56 Sets the path to the PHP binary that is used to render files with the
57 "x-httpd-php" or "application/x-httpd-php" type. This setting does
58 *NOT* affect the PHP binary used for serving script requests, which is
59 still configured in suphp.conf.
61 ===================================
62 (c)2002-2007 by Sebastian Marsching
63 <sebastian@marsching.com>
64 Please see LICENSE for
65 additional information