Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 未捕获异常';t传输异常';带有消息';TSocket读取0字节';_Php_Scala_Thrift - Fatal编程技术网

Php 未捕获异常';t传输异常';带有消息';TSocket读取0字节';

Php 未捕获异常';t传输异常';带有消息';TSocket读取0字节';,php,scala,thrift,Php,Scala,Thrift,在本地主机上一切正常,但在服务器上它的显示和错误类似 PHP message: PHP Fatal error: Uncaught exception 'TTransportException' with message 'TSocket read 0 bytes' in /var/www/SH_MVC/library/thrift/transport/TSocket.php:263 Stack trace: #0 /var/www/SH_MVC/library/thrift/transpor

在本地主机上一切正常,但在服务器上它的显示和错误类似

PHP message: PHP Fatal error:  Uncaught exception 'TTransportException' with message 'TSocket read 0 bytes' in /var/www/SH_MVC/library/thrift/transport/TSocket.php:263
Stack trace:
#0 /var/www/SH_MVC/library/thrift/transport/TTransport.php(87): TSocket->read(4)
#1 /var/www/SH_MVC/library/thrift/transport/TBufferedTransport.php(109): TTransport->readAll(4)
#2 /var/www/SH_MVC/library/thrift/protocol/TBinaryProtocol.php(300): TBufferedTransport->readAll(4)
#3 /var/www/SH_MVC/library/thrift/protocol/TBinaryProtocol.php(192): TBinaryProtocol->readI32(NULL)
#4 /var/www/SH_MVC/library/thrift/packages/user_node/User_nodeService.php(460): TBinaryProtocol->readMessageBegin(NULL, 0, 0)
#5 /var/www/SH_MVC/library/thrift/packages/user_node/User_nodeService.php(419): user_node_User_nodeServiceClient->recv_create_article()
#6 /var/www/SH_MVC/application/models/neo4j.php(26): user_node_User_nodeServiceClient->create_article('testing1', '0a6c7824a972eea...', 'checking-neo4j', 'checking neo4j&...', '[{"id":"text-co...', '7" while reading response header from upstream, client: 000.00.0.000

我用Neo4j在Scala上编写了一个库,并在ubuntu操作系统上连接到php——与Localhost(mymachine)和服务器相同——它工作完美,没有任何问题,但在live Server上抛出了一个错误。我复制了上面的日志信息。请在这方面帮助我。

检查您的phpinfo是否支持php的套接字