Skip to main content
November 17, 2009
Question

PHP Error Messages

  • November 17, 2009
  • 1 reply
  • 294 views

Is there a way to see specific PHP error messages.  Currently I click preview in browser and if my php code is screwed up I get the standard 500.0 error.  Alot of times its either a missing semi-colon or a misspelled variable.  But I have to dig to find it.  is there an easier way?

This topic has been closed for replies.

1 reply

David_Powers
Inspiring
November 18, 2009

I don't know what you mean by the standard 500.0 error. Are you using Internet Explorer for previewing pages? If so, select Tools > Internet Options, and then click the Advanced tab. In the Browsing section, deselect Show friendly HTTP error messages.

Also make sure that error_reporting in php.ini is set to E_ALL and display_errors is On.