Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is a myth. High load has nothing to do with it. However if you configure apache wrongly, it will serve .php files as text. Only connection to load is if you have one broken server among N proper ones, a number of times that the broken one is hit depends on load - I.e. on low load, it may be configured so that it is never hit at all.

I guess the story about apache serving php source under high load came from the idea tha Facebook is a high load site (true) and they couldn't just have made as obvious screwup as misconfiguring a production server (false) so it must be apache/php bug that happens only in high load sites (false)



this was a real issue, here is the bug:

https://bugs.php.net/bug.php?id=26810

there were many related bugs as well. it didn't get fixed for a while, and when it was fixed it was over a number of revisions and wasn't tagged.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: