cPanel PHP Error Logs

Just as your Apache errors are logged within cPanel, your PHP errors are also logged. To view them, you will need to do so via the cPanel File Manager. Once you're in the cPanel File Manager, any errors will be logged within a file labeled 'error_log' in the same directory that the script produced the error.

Within the file, you will see each error that was logged on a separate line. First, it will list the date and time that the error was produced, then the actual error. Reviewing this periodically will help you provide the best experience possible for your visitors to ensure that they are not seeing repeat errors on your website.
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

I'm receiving a blank page

If your website or web application is displaying nothing but a blank, white page, then chances...

Page is displaying 404 Page Not Found error

The 404 Page Not Found error means that the user requested a page on the server that does not...

My webpage is displaying ads

If your website is not pulling up and is instead showing advertisements, the most likely cause is...

Cannot connect to database

This error will occur within a web application when any of the following conditions are met:...

I can't login to cPanel

Ensure that caps lock is off, and that you are completely sure what your cPanel password is. If...

Powered by WHMCompleteSolution