joglomedia / LEMPer

LEMPer Stack is terminal-based LEMP / LNMP ( Linux, Nginx, MariaDB, PostgreSQL, MongoDB, Redis, Memcache, PHP, Secure FTP ) auto installer and virtual host manager for Debian & Ubuntu cloud or virtual server (vps) and on-premise (bare metal).
https://lemper.cloud/
GNU General Public License v3.0
208 stars 56 forks source link

permission denied because of listen.owner/group #151

Closed chutuananh2k closed 1 year ago

chutuananh2k commented 1 year ago

use {username} as listen.owner and listen.group causes php-fpm to error. Change to www-data instead. Better security though.

joglomedia commented 1 year ago

Hi @chutuananh2k Could you provide detailed information or step by step to reproduce the error?

www-data is global while LEMPer use isolated FPM per system user have you create the username before? you could skip it to use default LEMPer account

joglomedia commented 1 year ago

use {username} as listen.owner and listen.group causes php-fpm to error. Change to www-data instead. Better security though.

PHP FPM pool configuration has been updated, thanks for discovering this issue