Ready to get started?Download WordPress


Error Log Monitor
Does not exist or is inaccessible. (2 posts)

  1. bobby.noonan
    Posted 11 months ago #

    "The log file /mydirectory/php-errors.log does not exist or is inaccessible."

    It's not working...any help would be much appreciated.


  2. Bradley Allen
    Posted 8 months ago #

    hi bobby.noonan,

    Your server will need write access to the file, so make sure to set the appropriate permissions.

    There are instructions included with the plugin that explain what to do and offer links to more detailed instructions:

    To enable error logging, create an empty file named "php-errors.log". Place it in a directory that is not publicly accessible (preferably outside your web root) and ensure it is writable by the web server. Then add the following code to wp-config.php:

    ini_set('log_errors', 'On');
    ini_set('error_log', '/full/path/to/php-errors.log');

    See also: Editing wp-config.php, 3 Ways To Monitor PHP Errors


You must log in to post.

About this Plugin

About this Topic