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:
Add below to your wp-config.php file to enable support for the free Error Log Monitor plugin:
/* DO NOT DELETE (ENABLES ERROR LOG WIDGET) */ 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
WordPress Gossip, Technical SEO News, And Other Goodies.
Free. Unsubscribe anytime.