php-fpm www-data

PHP-FPM pool configuration – sed command

  • cd /etc/php/8.1/fpm/pool.d/www.conf
sed -nE 's/^[[:space:]]*(user|group)[[:space:]]*=[[:space:]]*(.*)/\1 = \2/p' /etc/php/8.3/fpm/pool.d/www.conf
JavaScript

another way to confirm the same

ps -aux | grep php
JavaScript