RPC框架 - thrift 服务端
-------服务端程序 ------ 下载 下载 thrift 源代码包 下载 thrift 的bin包 准备描述文件(使用源代码包的示例文件) \thrift-0.10.0\tutorial\shared.thrift \thrift-0.10.0\tutorial\tutorial.thrift 根据描述文件生成代码 thrift-0.10.0.exe -r -o lib_server --gen php:server idl-dir/tutorial.thrift 从thrift源代码包中拷贝 php的库 \thrift-0.10.0\lib\php\lib 编写服务端代码(使用源代码包的示例文件、并修改) \thrift-0.10.0\tutorial\php\PhpServer.php 来源: https://www.cnblogs.com/xiaoyaogege/p/6567386.html