Skip to content

Commit 27b1c7b

Browse files
LupulKristan Kenney
authored andcommitted
Fix php-fpm socket permission (multiphp)
Grant webserver access to php-fpm pools relates to issue hestiacp#254
1 parent 0f84061 commit 27b1c7b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

install/deb/multiphp/nginx/PHP-56.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pool_conf="[$2]
1010
1111
listen = /run/php/php5.6-fpm-$2.sock
1212
listen.owner = $1
13-
listen.group = $1
13+
listen.group = www-data
1414
listen.mode = 0660
1515
1616
user = $1

install/deb/multiphp/nginx/PHP-70.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pool_conf="[$2]
1010
1111
listen = /run/php/php7.0-fpm-$2.sock
1212
listen.owner = $1
13-
listen.group = $1
13+
listen.group = www-data
1414
listen.mode = 0660
1515
1616
user = $1

install/deb/multiphp/nginx/PHP-71.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pool_conf="[$2]
1010
1111
listen = /run/php/php7.1-fpm-$2.sock
1212
listen.owner = $1
13-
listen.group = $1
13+
listen.group = www-data
1414
listen.mode = 0660
1515
1616
user = $1

install/deb/multiphp/nginx/PHP-72.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pool_conf="[$2]
1010
1111
listen = /run/php/php7.2-fpm-$2.sock
1212
listen.owner = $1
13-
listen.group = $1
13+
listen.group = www-data
1414
listen.mode = 0660
1515
1616
user = $1

install/deb/multiphp/nginx/PHP-73.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pool_conf="[$2]
1010
1111
listen = /run/php/php7.3-fpm-$2.sock
1212
listen.owner = $1
13-
listen.group = $1
13+
listen.group = www-data
1414
listen.mode = 0660
1515
1616
user = $1

0 commit comments

Comments
 (0)