PHP fails socket connection with Apple notification gateway

前端 未结 1 1829
谎友^
谎友^ 2021-01-01 01:37

Disclaimer: on SO I found many similar questions and some answers but none solved my issue.

I have this easy PHP code:



        
相关标签:
1条回答
  • 2021-01-01 01:53

    Some random finding from the internet which could help:

    1. It may be a certificate problem. Try the stream options allow_self_signed and verify_peer to check that.

    2. Try to use explicitely sslv2:// or sslv3:// ?

    3. Permission problem on "/dev/urandom"

    0 讨论(0)
提交回复
热议问题