php how to get actual error of 500 internal server code example Example: if i am using $_SERVER it shows 500 error ini_set('display_errors', 1);