阳光

php做APNS推送时报错


Warning: stream_socket_client() [function.stream-socket-client]: Unable to set local cert chain file `G:\web\aa\iosts/cer_key.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in G:\web\aa\iosts\index.php on line 28

Warning: stream_socket_client() [function.stream-socket-client]: failed to create an SSL handle in G:\web\aa\iosts\index.php on line 28

Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in G:\web\aa\iosts\index.php on line 28

Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in G:\web\aa\iosts\index.php on line 28


解决方法:

打开php的ssl模块,停止apache 开启 (一定要停止 直接重启不行)



京ICP备12040723号 关于易寻 联系我们 手机版