Don't like ads? PRO users don't see any ads ;-)
Guest

suphp.conf

By: a guest on May 13th, 2011  |  syntax: Bash  |  size: 0.91 KB  |  hits: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [global]
  2. ;Path to logfile
  3. logfile=/var/log/suphp.log
  4.  
  5. ;Loglevel
  6. loglevel=info
  7.  
  8. ;User Apache is running as
  9. webserver_user=http
  10.  
  11. ;Path all scripts have to be in
  12. docroot=/var/www:${HOME}/public_html:/srv/http
  13.  
  14. ;Path to chroot() to before executing script
  15. ;chroot=/mychroot
  16.  
  17. ; Security options
  18. allow_file_group_writeable=false
  19. allow_file_others_writeable=false
  20. allow_directory_group_writeable=false
  21. allow_directory_others_writeable=false
  22.  
  23. ;Check wheter script is within DOCUMENT_ROOT
  24. check_vhost_docroot=false
  25.  
  26. ;Send minor error messages to browser
  27. errors_to_browser=true
  28.  
  29. ;PATH environment variable
  30. env_path=/bin:/usr/bin
  31.  
  32. ;Umask to set, specify in octal notation
  33. umask=0077
  34.  
  35. ; Minimum UID
  36. min_uid=33
  37.  
  38. ; Minimum GID
  39. min_gid=33
  40.  
  41.  
  42. [handlers]
  43. ;Handler for php-scripts
  44. x-httpd-php="php:/usr/bin/php-cgi"
  45. ;x-httpd-php="php:/usr/bin/php"
  46.  
  47. ;Handler for CGI-scripts
  48. x-suphp-cgi="execute:!self"