[#THRIFT-682] PHP extension doesn't compile on Mac OS X - ASF JIRA
http://issues.apache.org/jira/browse/THRIFT-682
"The PHP Thrift extension doesn't compile on Mac OS X, because it's missing byteorder.h.
The attached patch works around this issue, but probably isn't the correct implementation. I imagine that it needs to be integrated into autoconf, but it gets the extension compiling for now."
myelin's simple-thrift-queue at master — GitHub
http://github.com/myelin/simple-thrift-queue/tree/master
"This is a toy in-memory (very much non-durable) queue, with a client and server in Python and a server in C++ -- the results of an evening's hacking with Facebook's Thrift protocol/RPC generator. "