500 Internal Server Error - server encountered an internal error

how to check “/tmp” exists as well