PHP error messages, logs and log files
PHP errors show by default in the browser; you can fetch server logs from the control panel, and WordPress display is controlled with WP_DEBUG in wp-config.php.
Our web servers display all PHP errors in the browser by default, as PHP’s display_errors is enabled.
You can see any PHP errors logged in the web server’s log file, under “Webserver logs” in our Control Panel.
If nothing is written to the web server’s logs, it is usually either because no PHP errors occur, the error handler has been changed in the source code/CMS, or an issue lies elsewhere.
Webserver logs
All log files the server generates for a product/domain can be found in our Control Panel. There are no internal logs that allow us to “see more” than our customers can.
The log files cannot be accessed directly from the web server’s file system, but in our Control Panel you can download the web server’s logs for further investigation.
WordPress
In WordPress the display of errors can be controlled by the WP_DEBUG variable, which can be set in the wp-config.php file.
Article from the support category: PHP