• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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