title: apns not connecting in php
body: <p>i am new to push notifications and tried following to fix this but it still gives same error.</p>
  
  <ol>
  <li>added C:\PHP\ext to the Windows path</li>
  <li>added libeay32.dll and ssleay32.dll to C:\WINDOWS\system32\inetsrv</li>
  <li>rebooted the server</li>
  </ol>
  
  <p>first error:-</p>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'ApnsPHP_Exception' with message 'Unable to connect to 'ssl://gateway.sandbox.push.apple.com:2195': Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? (0)' in C:\wamp\www\ApnsPHP-master\ApnsPHP\Abstract.php on line 396</p>
  </blockquote>
  
  <p>second error:-</p>
  
  <blockquote>
    <p>ApnsPHP_Exception: Unable to connect to 'ssl://gateway.sandbox.push.apple.com:2195': Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? (0) in C:\wamp\www\ApnsPHP-master\ApnsPHP\Abstract.php on line 396</p>
  </blockquote>
  
  <p><em>i am using a .pem file which was used before somewhere else
  and also i am trying to run my file on localhost, does it matter ?</em></p>
  
  <p>if someone knows something that what should i do to fix this error, then please help me !<br>
  and thanx in advance</p>