[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Probleme apres mise a jour Apache2 [URGENT]



webserver_user=www-data et allow_file_group_writeable=false dans ton suphp.conf.
Donc vérifie les points suivants :
1 - Que l'ensemble des fichiers de publication de tes différents vhosts appartiennent bien à l'utilisateur www-data, 2 - Que l'ensemble des fichiers de publication de tes différents vhosts n'ont pas de droits plus permissifs que 744 (que le groupe n'ait pas le droit d'écrire).

Le 2014-02-18 18:04, Hugues MORIN a écrit :

suphp.conf:
[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

;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=0022

; Minimum UID
;min_uid=100
min_uid=33

; Minimum GID
;min_gid=100
min_gid=33

[handlers]
;Handler for php-scripts
application/x-httpd-suphp="php:/usr/bin/php-cgi"

;Handler for CGI-scripts
x-suphp-cgi="execute:!self"
x-httpd-suphp="php:/usr/bin/php-cgi"


Reply to: