-1

I have the certificate from the Apple Push Notification Services. My App developer has not idea on how to install that on the server and neither do I. My server information

Apache Version  2.2.34
PHP Version         5.6.30
MySQL Version   5.6.41-84.1
Kiran Bhattarai
  • 175
  • 1
  • 12

1 Answers1

1

You need to put it in the same path as your php script that contains the code to trigger the push for example in terms of local Mamp

hdocs
 scrip.php ----------=> access would be $pushCertAndKeyPemFile = 'certificate.pem';
 certificate.pem

For php code example look here Using PHP to send iOS Push Notifications via APNs

Shehata Gamal
  • 98,760
  • 8
  • 65
  • 87