Hosting. Domains. Your next step online.

Diagnose a PHP 500 error or blank page

How-to Guides Websites & files

Use the first relevant PHP error to narrow down a white screen after a change.

  1. Reproduce the error once and note the time. Open the active document root in File Manager and look for error_log. With PHP-FPM, your provider may store per-domain logs under logs in your account home. cPanel → Metrics → Errors can also show recent server errors.
  2. Read the newest matching fatal error. A missing function can point to a PHP extension, an exhausted memory message to the configured limit, and a parse error to a specific file and line. If the error started immediately after an update, use that change as your starting point.
  3. Correct the specific issue or restore the affected file or component from a known-good backup. Keep error details in logs. Refresh the page, then confirm the log does not record another copy of the same failure.

Read the cPanel documentation