thrift 安装 C++server 及PHP Client 测试Demo
折腾了一整天,终于打通了环境。其实简单,网上的各种不靠谱,最好还是看tutorial解决问题。
thrift-0.9.1安装:./configure –without-go –without-lua –without-tests –with-php-config=…
C++ server: 在目录thrift-0.9.1/tutorial下
php client: 其实php 是不需要做任何引用.so及可以与C++ server通信的。具体参看tutorial/php/PhpClient.php即可。