I followed the tutorial (http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1#comments) and get all the provisioning file and iOS code done. I copy the ck.pem and device token correctly to the PHP file. But I got this strange error:
➜ SimplePush php simplepush.php simplepush.php
PHP Warning: PHP Startup: pdo_pgsql: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: pgsql: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
Connected to APNS
Message successfully delivered
➜ SimplePush
It shows that the connection is fine and deliver is successful but my test device didn't get the notification. I am guessing that the error about the "pdo_pgsql" and the "pgsql". I am only testing this on my local machine and there's nothing to do with a database. I am not sure how to solve this problem. Any help will be greatly appreciated!