• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

log the php errors into a file

L

Lucien

Guest
Hello, i would like to know how i can do to log all the php errors that occur on my websites to a log file on my dedicated server.
I already looked into the php.ini file and i turned on the "log_errors" option.
I also created a file called errors.log and made it writable and i put the path of this file just after "log_errors" in the php.ini file.
But it doesn't work, nothing is written in that file since now a few days. ?!
What should I do and how are you guys doing to use this function ?
 
You need to add into vhost.conf the setting to log the error_logs, see Power Toys.
 
Back
Top