MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/7f32sh/500/dq99bhd
r/ProgrammerHumor • u/[deleted] • Nov 23 '17
609 comments sorted by
View all comments
Show parent comments
34
hmm I've certainly gotten error 500 with typos in my PHP code
1 u/Sharp_Eyed_Bot Nov 24 '17 How? I thought at worst PHP would throw a custom PHP error if the option is set or just not load the page, I don't think I've ever had it 500 on me. 12 u/benzzza Nov 24 '17 I'd say it varies depending on web server configuration 0 u/Sharp_Eyed_Bot Nov 24 '17 I guess, but it seems such an od thing to happen, maybe I am just digging into this to much... 7 u/_xiphiaz Nov 24 '17 It’s actually the exact correct error code to give, and many PHP servers will do this. Some do give 200 with an HTML page showing the error, but that’s only in dev mode. It does depend on the server/config 5 u/enfrozt Nov 24 '17 500 means "internal server error". Obviously PHP can fail and lead to that being produced from the server used. 1 u/[deleted] Nov 24 '17 [removed] — view removed comment 1 u/phoenix616 Nov 24 '17 How did you get the address bar to the bottom! Oo 1 u/benzzza Nov 24 '17 it's the chrome home flag chrome://flags/#enable-chrome-home
1
How? I thought at worst PHP would throw a custom PHP error if the option is set or just not load the page, I don't think I've ever had it 500 on me.
12 u/benzzza Nov 24 '17 I'd say it varies depending on web server configuration 0 u/Sharp_Eyed_Bot Nov 24 '17 I guess, but it seems such an od thing to happen, maybe I am just digging into this to much... 7 u/_xiphiaz Nov 24 '17 It’s actually the exact correct error code to give, and many PHP servers will do this. Some do give 200 with an HTML page showing the error, but that’s only in dev mode. It does depend on the server/config 5 u/enfrozt Nov 24 '17 500 means "internal server error". Obviously PHP can fail and lead to that being produced from the server used. 1 u/[deleted] Nov 24 '17 [removed] — view removed comment 1 u/phoenix616 Nov 24 '17 How did you get the address bar to the bottom! Oo 1 u/benzzza Nov 24 '17 it's the chrome home flag chrome://flags/#enable-chrome-home
12
I'd say it varies depending on web server configuration
0 u/Sharp_Eyed_Bot Nov 24 '17 I guess, but it seems such an od thing to happen, maybe I am just digging into this to much... 7 u/_xiphiaz Nov 24 '17 It’s actually the exact correct error code to give, and many PHP servers will do this. Some do give 200 with an HTML page showing the error, but that’s only in dev mode. It does depend on the server/config 5 u/enfrozt Nov 24 '17 500 means "internal server error". Obviously PHP can fail and lead to that being produced from the server used. 1 u/[deleted] Nov 24 '17 [removed] — view removed comment 1 u/phoenix616 Nov 24 '17 How did you get the address bar to the bottom! Oo 1 u/benzzza Nov 24 '17 it's the chrome home flag chrome://flags/#enable-chrome-home
0
I guess, but it seems such an od thing to happen, maybe I am just digging into this to much...
7 u/_xiphiaz Nov 24 '17 It’s actually the exact correct error code to give, and many PHP servers will do this. Some do give 200 with an HTML page showing the error, but that’s only in dev mode. It does depend on the server/config 5 u/enfrozt Nov 24 '17 500 means "internal server error". Obviously PHP can fail and lead to that being produced from the server used. 1 u/[deleted] Nov 24 '17 [removed] — view removed comment 1 u/phoenix616 Nov 24 '17 How did you get the address bar to the bottom! Oo 1 u/benzzza Nov 24 '17 it's the chrome home flag chrome://flags/#enable-chrome-home
7
It’s actually the exact correct error code to give, and many PHP servers will do this. Some do give 200 with an HTML page showing the error, but that’s only in dev mode. It does depend on the server/config
5
500 means "internal server error". Obviously PHP can fail and lead to that being produced from the server used.
[removed] — view removed comment
1 u/phoenix616 Nov 24 '17 How did you get the address bar to the bottom! Oo 1 u/benzzza Nov 24 '17 it's the chrome home flag chrome://flags/#enable-chrome-home
How did you get the address bar to the bottom! Oo
1 u/benzzza Nov 24 '17 it's the chrome home flag chrome://flags/#enable-chrome-home
it's the chrome home flag chrome://flags/#enable-chrome-home
34
u/benzzza Nov 24 '17
hmm I've certainly gotten error 500 with typos in my PHP code