I have updated my local setup with PHP 8.2.13 version, my project is working fine.
I have third party API call within my project which is implemented with guzzleHttp client class. GuzzleHttp version I am using in 6.0
Before I update my PHP version it was working fine, but now its throwing error like - Connection refused for URI https://test.com
In my php.ini below is the setting - extension=openssl
Any help would be so much appreciated
- I tried upgrading guzzlehttp version to 7.8.1.
- After that I run composer self-update
- Next I tried with below commands - composer config --global -- disable-tls true composer config --global -- ignore-tls-errors true
- With GuzzleHttp class object I tried with below as well -
$client = new GuzzleHttp\Client([ 'verify' => false, ]);