1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

log the php errors into a file

Discussion in 'Plesk for Linux - 8.x and Older' started by Lucien, Feb 12, 2007.

  1. Lucien

    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 ?
  2. lvalics

    lvalics Silver Pleskian Plesk Guru

    Jun 20, 2003
    Likes Received:
    You need to add into vhost.conf the setting to log the error_logs, see Power Toys.