How do I enable error messages for PHP?

PHP error messages are helpful when troubleshooting issues with your site or checking if your code is working correctly. The error message displays a filename, line number and a description of the error directly in the browser, helping you or our support team identify the problem quickly.

Note: After troubleshooting, don't forget to switch the toggle off again.

New one.com Control Panel update

With the rollout of our new Control Panel design, some steps or screenshots in this guide may look different from what you see now. While we work on updates, please check the guide below whenever the instructions don't match your screen:

Navigating the new one.com Control Panel design

  1. Log in to the one.com Control Panel.
  2. Under Advanced settings, click PHP (& subdomains).
  3. Find the (sub)domain for which you want to turn PHP error messages on and click Edit.
  4. Toggle PHP error messages to on.
  5. Click Update and then Got it.
This GIF is a graphical representation of the steps in this article.

Related articles:

Was this article helpful?

Can’t find what you are looking for?

Start a chat

It's the quickest way to get in touch, every day of the year.

Give us a call

Available on weekdays from 10am to 2pm (UTC).