Facebook has their own PHP fork, which they use/and modify. I do not believe that Facebook pushes their modifications to PHP as a whole.
- Cassandra (Java) was created by Facebook http://en.wikipedia.org/wiki/Apache_Cassandra
- Giraph (Java) has significant contributions from Facebook and I believe was founded there http://giraph.apache.org/
- FP (Erlang IIRC) at Facebook http://cufp.org/videos/functional-programming-facebook
- Facebook's page listing some of the open source projects they contribute to https://developers.facebook.com/opensource/
The backend is written in everything from Erlang to C++.
Then they use it only for the view layer, it only pull some data from memcache to render HTML.
But all the hard work is C++ / Java / Tornado / etc
I found a page from 2010, but I couldn't find a more up-to-date source.
http://www.makeuseof.com/tag/facebook-work-nuts-bolts-techno...