Our web servers do not log PHP errors.
If you want to see your PHP error log, you must therefore activate this yourself in your code.
This is done by inserting the following into your .htaccess file:
php_flag log_errors on php_value error_log /var/www/domain.dk/phperrors.log
You can now download the phperrors.log file with an FTP client and review it if necessary.
If nothing is written in the error log, it is usually either because no PHP error occurs, the error handler has been changed in the source code, or an eventual error problem lies somewhere else.
You can test if the log works by making a call to eg. trigger_error ()
Article from category PHP