[Resolved] How to test php error logging
I just set up the error logging as explained in this codex page:
@ini_set('log_errors','On'); @ini_set('display_errors','Off'); @ini_set('error_log','/home/example.com/logs/php_error.log');
at the top of wp-config.
I don’t think it’s working because hitting a blank page (due to a php error presumably) writes nothing to the log file. In the past I’ve had trouble getting this to work.
The log file is 660 and sits in the public webroot.
Is there anyway to test this?
- The topic ‘[Resolved] How to test php error logging’ is closed to new replies.