note 128949 added to install.fpm
| From: | Anonymous at main dot php dot net | Date: | Fri, 13 Oct 2023 03:12:43 +0000 |
| Subject: | note 128949 added to install.fpm | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220908@lists.php.net to get a copy of this message | ||
in response to "dreamcat4 at gmail dot com" about enabling logs in php-fpm
i *hate* going blind, so enabling logs is generally the first thing i do...
by doing dreamcat4 suggestion, logs got enabled but mixed with php process logs ... instead doing
that and to isolate logs from [www] worker pool in its own file, these directives worked for me in
"www" worker .ini file (you have to set directories and permissions before)
php_admin_flag[log_errors] = on
php_admin_value[error_log] = /var/log/php-fpm/www-error.log
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.157.134 (proxied: 207.248.219.88)
----
Manual Page -- https://php.net/manual/en/install.fpm.php
Edit -- https://main.php.net/note/edit/128949
Del: integrated -- https://main.php.net/note/delete/128949/integrated
Del: useless -- https://main.php.net/note/delete/128949/useless
Del: bad code -- https://main.php.net/note/delete/128949/bad+code
Del: spam -- https://main.php.net/note/delete/128949/spam
Del: non-english -- https://main.php.net/note/delete/128949/non-english
Del: in docs -- https://main.php.net/note/delete/128949/in+docs
Del: other reasons-- https://main.php.net/note/delete/128949
Reject -- https://main.php.net/note/reject/128949
Search -- https://main.php.net/manage/user-notes.php