[#THRIFT-682] PHP extension doesn't compile on Mac OS X - ASF JIRA
"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."