1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
From: <elacour@home-dn.net>
Subject: Adapt to debian paths
Index: suphp/doc/suphp.conf-example
===================================================================
--- suphp.orig/doc/suphp.conf-example 2012-04-18 14:42:43.000000000 +0200
+++ suphp/doc/suphp.conf-example 2012-04-18 14:48:01.853452999 +0200
@@ -1,12 +1,12 @@
[global]
;Path to logfile
-logfile=/var/log/suphp.log
+logfile=/var/log/suphp/suphp.log
;Loglevel
loglevel=info
;User Apache is running as
-webserver_user=wwwrun
+webserver_user=www-data
;Path all scripts have to be in
docroot=/var/www:${HOME}/public_html
@@ -27,7 +27,7 @@
errors_to_browser=false
;PATH environment variable
-env_path=/bin:/usr/bin
+env_path="/bin:/usr/bin"
;Umask to set, specify in octal notation
umask=0077
@@ -41,7 +41,7 @@
[handlers]
;Handler for php-scripts
-x-httpd-php="php:/usr/bin/php"
+application/x-httpd-suphp="php:/usr/bin/php-cgi"
;Handler for CGI-scripts
x-suphp-cgi="execute:!self"
|