I have built a website in PHP using the YII2 framework. When I use file_get_contents($requestUrl, false, stream_context_create($arrContextOptions)) then i am getting error saying error:0A000126:SSL routines::unexpected eof while readingI have also tried to enable the legacy provider by editing the openssl.cnf file, but got no success.Reference: https://gist.github.com/rdh27785/97210d439a280063bd768006450c435d
Any help would be appriciated.
Server: Nginx (nginx/1.18.0)OS: Ubuntu 22.04 LTSPHP: 7.4.29Openssl: 1.1.1d