Location of the PHP error log file
The PHP error log file will be in any of the following locations:- The public_html folder (root folder for your website).
- The folder setup for an Addon Domain (you can find which folder under cPanel > Addon Domains).
- The folder that contains the PHP script where the error occurred.
Understanding PHP Errors
Some PHP errors are common and easy to fix. We have some guides on how to fix basic errors:- Fixing a “fatal memory” error
- Troubleshooting “error establishing database connection” on a WordPress site