From 7cfd8414e3d01985de68dda1ca3fd091a531bdba Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Sun, 13 Oct 2019 17:40:43 +0200 Subject: [PATCH] fixed php-fpm7 user:group to www instead of nobody --- bin/lemp.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/lemp.sh b/bin/lemp.sh index aae043f..8450ef9 100755 --- a/bin/lemp.sh +++ b/bin/lemp.sh @@ -83,6 +83,9 @@ sed -i "s/memory_limit\ =\ 128M/memory_limit = 512M/g" /etc/php7/php.ini TIMEZONE="Europe/Helsinki" sed -i "s|;*date.timezone =.*|date.timezone = ${TIMEZONE}|i" /etc/php7/php.ini +sed -i "s|user = nobody|user = www|i" /etc/php7/php-fpm.d/www.conf +sed -i "s|group = nobody|group = www|i" /etc/php7/php-fpm.d/www.conf + rc-update add php-fpm7 service php-fpm7 start