[Ubuntu] suPHP 0.7.1 .deb package with Paranoid mode

With Apache2, I like to have my websites in different directories, and they cannot interfere with each other. I use Virtual Hosts and suPHP for this.

In Ubuntu repositories, only the 0.6.X version is available, so I packaged the 0.7.1 myself and with the paranoid mode.

You can find the .deb package of suphp 0.7.1 with paranoid mode on my PPA (Personal package archive): weboide's PPA.

You might have to make a little changes to the suphp.conf file (/etc/suphp/suphp.conf). Here's mine so that you can have a reference:

[global]
;Path to logfile
logfile=/var/log/suphp.log
 
;Loglevel
loglevel=info
 
;User Apache is running as
webserver_user=www-data
 
;Path all scripts have to be in
docroot=${HOME}/www
 
;Path to chroot() to before executing script
;chroot=/mychroot
 
; Security options
allow_file_group_writeable=false
allow_file_others_writeable=false
allow_directory_group_writeable=false
allow_directory_others_writeable=false
 
;Check wheter script is within DOCUMENT_ROOT
check_vhost_docroot=true
 
;Send minor error messages to browser
errors_to_browser=false
 
;PATH environment variable
env_path=/bin:/usr/bin:/usr/sbin:/sbin
 
;Umask to set, specify in octal notation
umask=0022
 
; Minimum UID
min_uid=1000
 
; Minimum GID
min_gid=1000
 
 
[handlers]
;Handler for php-scripts
application/x-httpd-php="php:/usr/bin/php-cgi"
 
;Handler for CGI-scripts
x-suphp-cgi="execute:!self"

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: