Download our 35+ FREE plugins for WordPress!  Click here

How can we access any error logs?

While we don’t ever provide SSH access to servers, we make use of Error Log Monitor as a Must Use plugin that allows us to present the PHP error log easily to our WordPress hosting customers directly in their WordPress admin dashboard. If this is something you’d like to setup you can follow the directions below or contact us anytime. As we only maintain one domain/database per server, the error log you have access to is the “master” Nginx error log (more info).

This is the line we setup in the nginx.conf file:

error_log /var/log/nginx/error.log;

Add below to your wp-config.php file to enable support for the free Error Log Monitor plugin:

ini_set('log_errors', 'On');
ini_set('error_log', '/var/log/nginx/error.log');

We present this access via the Nginx user, rather than SFTP/home user, as below (not accessible via SFTP):

sudo chown -R www-data:www-data /var/log/nginx;
sudo chmod -R 755 /var/log/nginx;
Last modified:  25 Aug, 2016
FREE Facebook group