Question
How do I set the PHP error log location when using PHP-FPM?
Answer
When using PHP-FPM, the error_log directive is controlled directly by the user's PHP-FPM configuration.
- Log in to WHM.
- Access Home / Software / MultiPHP Manager
On the User Domain Settings tab, find the domain and press the associated PHP-FPM Settings button
On the domain's PHP-FPM Settings page, update the
Error Logvalue to a new value.Note: The new error log location will be relative to the user's
logsdirectory in their home folder; this cannot be altered.- Use the Update button at the bottom of the page to save and apply the configuration.
Comments
0 comments
Article is closed for comments.