How to see the PHP error log of your website

For hosting customers · Updated 2026-10-29

On this page
  1. Steps
  2. The full log
  3. Reading common errors
  4. Show errors in the page while debugging
  5. Good to know
  6. Common questions

When a page is blank, shows "500" or behaves strangely, PHP usually wrote the reason to your error log. The Errors page shows the latest PHP errors and warnings of all your websites, newest first.

Steps

  1. Log in to the control panel (https://<server>:2083).
  2. Open Errors in the menu (section Advanced).
  3. Read the newest lines at the top. Each line has the time, the kind (for example PHP Fatal error), the message, and the file and line number.
  4. Reproduce the problem (open the broken page again) and click Refresh to see new lines.

The page shows up to 300 of the latest lines. No errors recorded. means PHP has not logged anything yet.

The full log

All PHP errors of your account are written to ~/logs/php-errors.log (/home/<username>/logs/php-errors.log). Its size is shown at the top of the Errors page. Open it with the File Manager (folder logs) or download it.

Reading common errors

  • PHP Fatal error: Allowed memory size of … exhausted — raise Memory limit (MB) on the PHP page.
  • Maximum execution time of … seconds exceeded — raise Max execution time (seconds).
  • Call to undefined function … — usually a PHP version the code does not support, or a missing extension. Try another PHP version.
  • … has been disabled for security reasons — the code calls exec, shell_exec, system or a similar function, which are turned off for websites.
  • open_basedir restriction in effect — the code tries to open a file outside your home folder.

Show errors in the page while debugging

On the PHP page, set Show errors in the page to On and click Save settings, or click the Development (show errors) ready-made button. Set it back to Off when you are done: visitors must not see error messages.

Good to know

  • If your hosting provider has turned on the AI assistant, Explain with AI explains your latest errors and what to do.
  • Site Check shows the latest errors of one website together with its DNS, certificate and account state. See Site Check.
  • Delete or empty the log file if it becomes large; PHP creates it again.

Common questions

The page is blank but the Errors page shows nothing. Why?

The problem may not be in PHP: run Site Check for the website. WordPress can also keep its own log in wp-content/debug.log when WP_DEBUG_LOG is turned on.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.