Archive

Archive for May, 2014

php 5.5.12 breaks permissions — fix

May 7, 2014 Leave a comment

When upgrading to php 5.5.12 (dotdeb)..the /etc/php5/fpm/pool.d/www.conf file is updated. If your running php-fpm as a socket, these lines need to be uncommitted.

; Set permissions for unix socket, if one is used. In Linux, read/write
; permissions must be set in order to allow connections from a web server. Many
; BSD-derived systems allow connections regardless of permissions.
; Default Values: user and group are set as the running user
;                 mode is set to 0660
listen.owner = www-data
listen.group = www-data
listen.mode = 0660

listen = /var/run/php5-fpm.sock

Categories: sysadmin