không thể có được điều này nhận được các lỗi khi chạy PHP trong thiết bị đầu cuối như php simplepush.phpcảnh báo: stream_socket_client(): không thể đặt tập tin khóa riêng
Warning: stream_socket_client(): Unable to set private key file `/users/accenture/Desktop/newAPNS/ck.pem' in /users/accenture/Desktop/newAPNS/simplepush.php on line 22
Warning: stream_socket_client(): failed to create an SSL handle in /users/accenture/Desktop/newAPNS/simplepush.php on line 22
Warning: stream_socket_client(): Failed to enable crypto in /users/accenture/Desktop/newAPNS/simplepush.php on line 22
Warning: stream_socket_client(): unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in /users/accenture/Desktop/newAPNS/simplepush.php on line 22
Failed to connect: 0
Tôi tạo ra tất cả các chứng chỉ và tập tin pem bằng cách sử dụng bài viết raywenderlich , http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1#comments
Bạn có thể cho chúng ta thấy chmod của: '' '/ người dùng/Accenture/Desktop/newAPNS /' ''? – ChoiZ
accenture: newAPNS accenture: $ php simplepush.php – kumar
cách sử dụng: \t chmod [-fhv] [-R [-H | -L | -P]] [-a | + a | = a [i] [# [n]]] chế độ | tệp nhập ... chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] tập tin ... – kumar