cturbelin/rserve-php

rserve-php work not well after I move to new server

gitbobo opened this issue · 0 comments

I just move to a new server,update from centos 6 to centos 7,but rserve-php work not well.

exception 'Rserve_Exception' with message 'Could not login' in /home/websites/site1/rserve-php/Connection.php:301 Stack trace: #0 /home/websites/site1/rserve-php/Connection.php(215): Rserve_Connection->login() #1 /home/websites/site1/rserve-php/Connection.php(152): Rserve_Connection->openSocket(NULL) #2 /home/websites/site1/rserve-php/tests/index.php(26): Rserve_Connection->__construct('localhost') #3 {main}

print_r($r) in Connection.php, output as below:
Connecting to Rserve localhostArray ( [code] => 1090584578 [is_error] => 1 [error] => 65 [header] => ��A [contents] => )

Any clue is welcome, thanks!!