0

Possible Duplicate:
How to get useful error messages in PHP?

I'm programming php on fedora 16.When there is an error in my code and run it, I'll see Server Error and when I check /var/log/httpd/error_logs I see that internal error kis for my php error . how can I see PHP errors in the browser like as xampp in windows ?

Community
  • 1
  • 1
Soroush Khosravi
  • 180
  • 1
  • 2
  • 13

1 Answers1

3

Set the PHP INI configuration parameter display_errors to 1 (instead of the default of 0). Note that this is discouraged in a production environment. I assume you're only going to enable this on your development box.

nickb
  • 59,313
  • 13
  • 108
  • 143
Rylab
  • 1,236
  • 7
  • 17