Lange ist es her als ich es das letzte mal verwendet habe, daher stelle ich gleich mal mein Problem vor.
Apache 2 & suphp alles per apt installiert und folgenden vhost eingerichtet:
Code: Select all
<VirtualHost 192.168.178.20:80>
DocumentRoot /home/micha/www
ServerName micha.sytes.net
<Directory /home/micha/www>
suPHP_Engine on
php_admin_value engine off
AddHandler x-httpd-php .php
SuPHP_AddHandler x-httpd-php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Irgendwo ist noch der wurm drin und hab ein wenig gegoogelt, aber konnte mein Problem nicht lösen, daher frage ich hier jetzt mal wie man das Problem lösen kann.
hier noch die suphp.conf
Code: Select all
[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
docroot=/home
;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
;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"