PHP White Screen of Death: Causes and Fixes
Your website shows a blank white page, so visitors and customers see nothing.
Which PHP version does your site report?
We read only what your site already sends in public: the headers and the top of the homepage. No scan, no login.
More about this
If your site brings in enquiries or orders, that is worth fixing today.
The reason is nearly always written down in a log file, and the steps below usually bring the page back without special tools.
The PHP white screen of death is a completely blank page where your site should be, and it usually means that PHP hit a fatal error but was set to hide the message. The page loads, the server answers, and nothing is printed.
What the blank page means
When PHP stops because of a serious error, it can print the message on the screen or keep it out of sight. Production servers normally keep it out of sight, which is the safer choice. The result is an empty page, and the real message ends up in the error log.
A blank page does not tell you which file or which line failed, so the log is where you start.
Common causes
The cause is often a plugin, theme or custom script with a coding mistake, or code that does not work with the PHP version the site runs now. Running out of memory is another frequent reason, and so is a file that was only partly uploaded. An empty line or stray character in a configuration file can also break a page.
On WordPress sites, a recent plugin or theme update is a likely suspect. A blank page can also come from caching, so a cached empty response is worth ruling out.
How to check it safely
First make a backup of the files and the database, so every later step can be undone. Then find the PHP error log. Most hosting panels have a section for error logs, and the file is often named error_log or php_errors.log.
Read the newest lines. They usually name the file, the line number and the type of error. If there is no log, you can enable error logging to a file for a short time.
Avoid showing errors on screen on a live site, because messages can reveal server paths to every visitor. Turn debugging off again when you are done. Also note which PHP version the site runs, since a recent change often explains the problem.
What you can try yourself
Work through these steps in order and stop when the page returns.
First, clear any page cache or caching plugin, and test in a private browser window. Second, if the log names a plugin, rename that plugin folder over SFTP or the file manager so it is deactivated. Third, if it names the theme, switch to a default theme the same way.
Fourth, if the log mentions memory, raise the memory limit moderately and test again. Fifth, restore the last good backup if nothing helps. Do not share hosting or admin passwords with anyone who asks for them in a message.
When the PHP version is the cause
If the blank page appeared right after a PHP update, older code may rely on features that newer versions have removed or changed. The log usually shows this as a fatal error pointing at a specific function. The page on supported PHP versions on this site explains which versions the PHP project still maintains, and which are worth moving to.
When to get help
If the log is empty, if you cannot reach the files, or if your shop is losing orders while the page is blank, it is sensible to ask for help. At Website Without PHP a human replies within 1 business day. A rush repair starts from $425, excluding VAT.