Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i got error some errors when installing PhpOrient #114

Open
lagoone opened this issue May 26, 2023 · 1 comment
Open

i got error some errors when installing PhpOrient #114

lagoone opened this issue May 26, 2023 · 1 comment

Comments

@lagoone
Copy link

lagoone commented May 26, 2023

Bug :

  1. require-dev.Ostico/phpdoc-md is invalid, it should not contain uppercase characters. Please use ostico/phpdoc-md instead.
  2. Root composer.json requires phpdocumentor/phpdocumentor dev-master -> satisfiable by phpdocumentor/phpdocumentor[dev-master]

Fixing :

  1. Make changes to "require-dev" -> "Ostico/phpdoc-md" to "ostico/phpdoc-md"
  2. The removal of "require-dev" -> "phpdocumentor/phpdocumentor" was replaced by a manual installation of https://github.com/phpDocumentor/phpDocumentor/releases

I already turn on sockets extension on php.ini but the next error is :

Fatal error: Uncaught PhpOrient\Exceptions\SocketException: Error 0 : The operation completed successfully in C:\xampp\htdocs\if5100\PhpOrient\src\PhpOrient\Protocols\Binary\OrientSocket.php:91 Stack trace: #0 C:\xampp\htdocs\if5100\PhpOrient\src\PhpOrient\Protocols\Binary\SocketTransport.php(146): PhpOrient\Protocols\Binary\OrientSocket->connect() #1 C:\xampp\htdocs\if5100\PhpOrient\src\PhpOrient\Protocols\Binary\Abstracts\Operation.php(76): PhpOrient\Protocols\Binary\SocketTransport->getSocket() #2 C:\xampp\htdocs\if5100\PhpOrient\src\PhpOrient\Protocols\Binary\SocketTransport.php(223): PhpOrient\Protocols\Binary\Abstracts\Operation->__construct(Object(PhpOrient\Protocols\Binary\SocketTransport)) #3 C:\xampp\htdocs\if5100\PhpOrient\src\PhpOrient\Protocols\Binary\SocketTransport.php(161): PhpOrient\Protocols\Binary\SocketTransport->operationFactory('PhpOrient\Proto...', Array) #4 C:\xampp\htdocs\if5100\PhpOrient\src\PhpOrient\PhpOrient.php(247): PhpOrient\Protocols\Binary\SocketTransport->execute('connect', Array) #5 C:\xampp\htdocs\if5100\coba.php(8): PhpOrient\PhpOrient->connect() #6 {main} thrown in C:\xampp\htdocs\if5100\PhpOrient\src\PhpOrient\Protocols\Binary\OrientSocket.php on line 91

@lagoone
Copy link
Author

lagoone commented May 26, 2023

it turns out that OrientDB does not support PHP version 8, when I change it to PHP version 7.x everything runs normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant