Unable to connect to elasticsearch 7.6 from php 7.2 api

my Elastic Search version has been upgraded from 7.4 to 7.6, after restarting by the ubuntu system upgraded.

After this upgrade now I am unable to connect to ES server (Localhost:9200) from php 7.2 API.

Please provide your suggestable configurations to get the connection to new elastic search 7.6

please share error messages or exceptions, otherwise it is impossible to help.

Thanks for your quick reply spinscale..

The issue has been resolved...added below code
'React\Promise\' =>
array (
0 => DIR . '/..' . '/react/promise/src',
),
'GuzzleHttp\Stream\' =>
array (
0 => DIR . '/..' . '/guzzlehttp/streams/src',
),
'GuzzleHttp\Ring\' =>
array (
0 => DIR . '/..' . '/guzzlehttp/ringphp/src',
),
'Elasticsearch\' =>
array (
0 => DIR . '/..' . '/elasticsearch/elasticsearch/src/Elasticsearch',

to vendor/composer/autoload_static.php

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.