I have successfully tested the PHP API on my local Mac computer -- I am able to register a device and successfully create a message. However on a Windows 2008 R2 server, with PHP 5.6.6 installed and otherwise working fine, I get no response from the server when I use exactly the same php script. There is no error in the error log even with Error Reporting set to 'Development Machine'.

Any ideas as to why this would happen?

BTW - on the same server, I can use a python version of the script without any problems.

asked 19 Mar '15, 19:34
bhwatts's gravatar image


Try using this option for curl handler:

 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
permanent link
answered 20 Mar '15, 12:30
XXXX's gravatar image


edited 23 Sep '15, 14:54

Benedict's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 19 Mar '15, 19:34

question was seen: 736 times

last updated: 23 Sep '15, 14:54