Making a connection in PHP using TLS

前端 未结 4 1648
北恋
北恋 2021-01-21 05:20

I wrote a small SIP client for a special purpose. Basically it connects to port 5060 using function fsockopen()

$fp = fsockopen(\"10.0.0.1\", 5060,          


        
4条回答
  •  不要未来只要你来
    2021-01-21 06:00

    I just recently encountered this error, debugging here and there for connection problem or proxy problem, finally found the culprit ... and the solution was to install php-pecl-crypto extension.

    My machine is centos 7 using remi-repo for PHP

提交回复
热议问题