The log file /home/wp/logs/php-errors.log does not exist or is inaccessible.
-
I’ve read the other half dozen or so threads with this same issue and I’m still stuck. Here’s what I’ve done so far:
- Verified that there are recent entries in
/home/wp/logs/php-errors.log
- Used copy and paste to ensure that I don’t have any typos in the filename or path.
- Checked file permissions. Owner and group are both wp. Permissions are 660.
- Created a php file that reads the file contents and echos them out. Ran this file from the command line and it displayed the log file contents.
Relevant portion of wp-config.php
ini_set('log_errors', 'On'); ini_set('error_log', '/home/wp/logs/php-errors.log');
The WordPress directory is
/var/www/html/
I’m not well versed in the ways of Linux. Can anyone think of what I’m missing?
Thanks,
Evan - Verified that there are recent entries in
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘The log file /home/wp/logs/php-errors.log does not exist or is inaccessible.’ is closed to new replies.