Created
October 29, 2010 06:18
-
-
Save cordoval/653015 to your computer and use it in GitHub Desktop.
suphp.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [global] | |
| ;Path to logfile | |
| logfile=/var/log/suphp/suphp.log | |
| ;Loglevel | |
| loglevel=info | |
| ;User Apache is running as | |
| webserver_user=www-data | |
| ;Path all scripts have to be in | |
| docroot=/var/www:${HOME}/public_html:/home/cordoval | |
| ;Path to chroot() to before executing script | |
| ;chroot=/mychroot | |
| ; Security options | |
| allow_file_group_writeable=true | |
| allow_file_others_writeable=true | |
| allow_directory_group_writeable=true | |
| allow_directory_others_writeable=true | |
| ;Check wheter script is within DOCUMENT_ROOT | |
| check_vhost_docroot=false | |
| ;Send minor error messages to browser | |
| errors_to_browser=false | |
| ;PATH environment variable | |
| env_path=/bin:/usr/bin | |
| ;Umask to set, specify in octal notation | |
| umask=0077 | |
| ; Minimum UID | |
| min_uid=100 | |
| ; Minimum GID | |
| min_gid=100 | |
| [handlers] | |
| ;Handler for php-scripts | |
| application/x-httpd-suphp="php:/usr/bin/php-cgi" | |
| ;Handler for CGI-scripts | |
| x-suphp-cgi="execute:!self" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment