1、打开:https://github.com/hprose/hprose-php/blob/master/README_zh_CN.md ,下载Hprose for PHP;
2、以http://www.hprose1.com/http_server.php为服务端,运行结果如图1:
3、以http://www.hprose2.com/http_client.php为客户端,运行结果如图2:报错:
4、在php.ini文件中设置:always_populate_raw_post_data = -1,以http://www.hprose2.com/http_client.php为客户端,再次运行结果如图3:
注:https://bugs.php.net/bug.php?id=66763
原创文章,作者:carmelaweatherly,如若转载,请注明出处:https://blog.ytso.com/180185.html