The blank page of a PHP-base website is an indication that there are currently errors occurring for the site, but the errors are not being shown as output, which results as a white screen, or for some browsers, an HTTP 500 error. Other common issues that can arise in a blank page can include, but not limited to, the memory limit is reached, PHP modules not loading or not installed, issues with the coding of the files, or in some cases, the PHP file is just empty.
PHP errors would typically be logged in an error_log found in the document root of the website content. For cPanel accounts with only one domain name, they can be found in the following location:
If PHP-FPM is enabled for the account, the log location would be different:
To gather the most recent error from the site, you can have read the logs for new data. The exact path of the error log will be dependent on the document root path and if PHP_FPM is enabled or disabled:
tail -f -n0 /home/cPanelusername/public_html/error_log
If you reload the website while running this command, you will receive new output about the issue with the site is currently occurring. You can then use that infomration to correct the problem that is preventing your site from loading correctly. If no error is being generated, then there are a few possibilities such as there is no PHP base error occurring, the error is being logged to a different file, or the content may not be resolving to the same server the checks are being performed.