• Hello,

    I am trying to get logging to work and I have been getting the following error.
    I have set the file in the root, and elsewhere with no luck. The permissions all appear to be set the same on all file locations. I edited the bottom of the wp-config to have:

    ini_set(‘log_errors’, ‘On’);
    ini_set(‘error_log’, ‘/php-errors.log’);

    So maybe I am doing something wrong there? Please let me know, thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    Placing the log file in the root directory seems like a bad idea in general, but I’m not sure if that’s what’s causing that particular error. Have you tried putting it one level above the web directory (public_html or similar)? As for permissions, usually it should have similar permissions as the files in wp-content/uploads.

Viewing 1 replies (of 1 total)
  • The topic ‘The log file /php-errors.log does not exist or is inaccessible.’ is closed to new replies.