Closed vikas-agent closed 3 years ago
It looks like the official ES client doesn't support PHP 8.0 yet (see https://github.com/elastic/elasticsearch-php/issues/1084 and https://github.com/elastic/elasticsearch-php/pull/1063).
When the official client adds support, I will update this package!
It looks like the client is already supporting PHP 8.0.
It will be supported in their 7.11.0 release, but currently that's still unreleased. Version 7.10.0 does not yet support PHP 8:
https://github.com/elastic/elasticsearch-php/blob/v7.10.0/composer.json
It was released: https://github.com/elastic/elasticsearch-php/blob/7.11/composer.json
"require": { "php": "^7.1 || ^8.0", "ext-json": ">=1.3.7", "ezimuel/ringphp": "^1.1.2", "psr/log": "~1.0" },
@linslin I don't think so. You're looking at a 7.11
branch. I don't see a 7.11 on their releases page.
@cviebrock https://github.com/elastic/elasticsearch-php/issues/1083#issuecomment-777387605
7.11 is released and support PHP 8
updated my composer.json file to
but when I do composer update. I'm getting the below error in the command line
Can you have a look at this issue a I really want to update my PHP version to PHP 8.