How do I enable error messages for PHP?

The error messages for PHP are helpful when you want to check that your code is working properly. They return a filename, line number and a message describing the error to the browser.

  1. Log on your Control Panel
  2. Click PHP & MySQL
  3. Scroll down to PHP error messages
  4. Select On
  5. Click Update