WordPress – nginx and php-fpm: misconfigured PHP error log destination
We use a typical nginx and php-fpm setup for a WordPress site running on Amazon Linux 2. We recently noticed that: PHP error log output was being sent to /var/log/nginx/error_log even though /etc/php-fpm.d/www.conf contains php_admin_value[error_log] = /var/log/php-fpm/www-error.log and php_admin_flag[log_errors] =…