Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

PHP Error Messages

Guest
Nov 17, 2009 Nov 17, 2009

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?

TOPICS
Server side applications
295
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 18, 2009 Nov 18, 2009
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines