How to see the PHP error log of your website
On this page
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
- Log in to the control panel (
https://<server>:2083). - Open Errors in the menu (section Advanced).
- 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. - 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 callsexec,shell_exec,systemor 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.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- Website not working? Find the cause with Site Check
Website not loading or showing an error? Site Check tests DNS, the server's answer, the SSL certificate, disk and bandwidth limits and PHP errors in one click.
- How to change PHP settings like memory_limit and upload size
Raise memory_limit, upload_max_filesize, post_max_size, max_execution_time or max_input_vars in the PHP page, with allowed ranges and ready-made presets.
- How to change the PHP version of your website
Choose the PHP version for your whole hosting account or for one domain only, see which versions are installed, and what to check after switching.