Notice: Undefined index: id in C:\www\demo\apps\up\SendAppleMsg.php on line 4

Warning: stream_socket_client(): unable to connect to ssl://gateway.push.apple.com:2195 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in C:\www\demo\apps\up\SendAppleMsg.php on line 21
Failed to connect: 1531389792 Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?