Здравствуйте, возникла ошибка с SOAP после перехода с PHP v7.1 на v7.4
Раньше работало все по https
Ошибка следующая: SOAP-ERROR: Parsing WSDL: .....
Ошибка возникает только по https, по http работает
Вызов: $this->client = new SoapClient($this->wsdlUrl, $this->conf);
Пробовал следующие варианты конфигураций:
1)[CODE]ini_set("soap.wsdl_cache", "0");
ini_set("soap.wsdl_cache_ttl", "0");
ini_set("soap.wsdl_cache_enabled", "0");[/CODE]
2)[CODE]$this->conf['encoding'] = 'UTF-8';
$this->conf['verifypeer'] = false;
$this->conf['verifyhost'] = false;
$this->conf['soap_version'] = SOAP_1_2;
$this->conf['trace'] = 1;
$this->conf['exceptions'] = 1;
$this->conf['connection_timeout'] = 180;
$this->conf['local_cert'] = '/etc/pki/tls/cert.pem';
$this->conf['ssl_method '] = 'SOAP_SSL_METHOD_TLS';
$this->conf['stream_context'] = stream_context_create(['ssl' => array('ciphers'=>'RC4-SHA', 'verify_peer'=>false, 'verify_peer_name'=>false), 'local_cert' => '/etc/pki/tls/cert.pem']);
[/CODE]
3)[CODE]$opts = array('ssl' => array('ciphers'=>'RC4-SHA', 'verify_peer'=>false, 'verify_peer_name'=>false));
$params = array ('encoding' => 'UTF-8', 'verifypeer' => false, 'verifyhost' => false, 'soap_version' => SOAP_1_1, 'trace' => 1, 'exceptions' => 1, "connection_timeout" => 180, 'stream_context' => stream_context_create($opts) );[/CODE]В этом варианте, вместо $this->conf ставил $params в конструкторе
4)[CODE]$this->conf['trace'] = true;
$this->conf['soap_version'] = SOAP_1_2;
$this->conf['exceptions'] = true;
$this->conf['stream_context'] = stream_context_create(array('ciphers'=>'RC4-SHA', 'verify_peer'=>false, 'verify_peer_name'=>false, 'allow_self_signed' => true));
$this->conf['ssl'] = array('ciphers'=>'RC4-SHA', 'verify_peer'=>false, 'verify_peer_name'=>false, 'allow_self_signed' => true);
$this->conf['https'] = array(
'user_agent' => 'PHPSoapClient'
);
[/CODE]
Некоторые из них пробовал комбинировать, не помогает
Подскажите как можно ещё попробовать решить проблему