Dear OrientDB Developer,
I think I should give more detail about my problem. I used Phporient as
php, it run fine on Window 8 machine with XAMPP. but the problem arose when
I moved to Centos 7 plantform. I can't use Phporient to connect to orientdb.
here the code:
==================================================================================================
require "PhpOrient/vendor/autoload.php";
use PhpOrient\PhpOrient;
//Initialize connection
$client = new PhpOrient( 'localhost', 2424);
$client->username = 'username';
$client->password = 'password';
//connect
$client->connect();
===================================================================================================
and here the error message
===================================================================================================
*Fatal error*: Uncaught exception 'PhpOrient\Exceptions\SocketException' with
message 'Error 13 : Permission denied
' in
/var/www/biinote.com/public_html/phporient/PhpOrient/src/PhpOrient/Protocols/Binary/OrientSocket.php:86
Stack trace:
#0
/var/www/biinote.com/public_html/phporient/PhpOrient/src/PhpOrient/Protocols/Binary/SocketTransport.php(138)
: PhpOrient\Protocols\Binary\OrientSocket->connect()
#1
/var/www/biinote.com/public_html/phporient/PhpOrient/src/PhpOrient/Protocols/Binary/Abstracts/Operation.php(73)
: PhpOrient\Protocols\Binary\SocketTransport->getSocket()
#2
/var/www/biinote.com/public_html/phporient/PhpOrient/src/PhpOrient/Protocols/Binary/SocketTransport.php(174)
:
PhpOrient\Protocols\Binary\Abstracts\Operation->__construct(Object(PhpOrient\Protocols\Binary\SocketTransport))
#3
/var/www/biinote.com/public_html/phporient/PhpOrient/src/PhpOrient/Protocols/Binary/SocketTransport.php(153)
: PhpOrient\Protocols\Binary\SocketTransport->operationFactory('connect', Array)
#4 /var/www/biinote.com/public_html/phporient/P
in
*/var/www/biinote.com/public_html/phporient/PhpOrient/src/PhpOrient/Protocols/Binary/OrientSocket.php
<http://biinote.com/public_html/phporient/PhpOrient/src/PhpOrient/Protocols/Binary/OrientSocket.php>
* on line *86*
===================================================================================================
The error occurred when $client->connect(); is invoked .
here my setup information
CENTOS7
apache 2.4
php 5.6
Phporient
I tried changing directory and file permission and user/group but no luck
until now. Hope I can solve this problem soon.
Best Regards,
Sun Chanras
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.