0

I receive 500 error message when there is a parse error in my coding.

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

Hosting Service: bluehost.

I want to see the error instead of 500 server error.

Also, I am using WordPress for running my website.

How can we do that?

I have also read following articles but didn't got anything. How can I make PHP display the error instead of giving me 500 Internal Server Error PHP - 500 instead of error

vimuth
  • 5,064
  • 33
  • 79
  • 116
Lalit Arora
  • 301
  • 1
  • 3
  • 9
  • 500 server error comes when you have any error in configuration instead of any coding error. – Dead Man Mar 20 '13 at 10:39
  • Follow the best answer in this question: http://stackoverflow.com/questions/277224/how-do-i-catch-a-php-fatal-error – m8rge Mar 20 '13 at 10:40
  • @DeadMan Not necessarily. I get plenty of 500s when setting up one of my company's sites locally sometimes, and they all end up being PHP errors – Bojangles Mar 20 '13 at 16:03

1 Answers1

0

Check the Error Log in the cPanel menu. It will have all of the details there.

FloatingRock
  • 6,741
  • 6
  • 42
  • 75