title: Pusher PHP Server not working
body: <p>I've been trying to trigger events using the <a href="https://github.com/pusher/pusher-php-server" rel="nofollow">Pusher PHP Server</a> but unable to do so. I've tried several solutions like i-e enabling cURL extension at my server environment but still no result.
  I've been successfully able to trigger events using the event creator provided by Pusher Debug Console. Am i missing something? </p>
  
  <p>Client Side Code Snippet (Subscribing channel &amp; listening for events)
      </p>
  
  <pre><code>&lt;head&gt;
    &lt;title&gt;Pusher Test&lt;/title&gt;
    &lt;script src="//js.pusher.com/2.2/pusher.min.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
      Pusher.log = function(message) {
        if (window.console &amp;&amp; window.console.log) {
          window.console.log(message);
        }
      };
  
      var pusher = new Pusher('key');
      var channel = pusher.subscribe('test_channel');
      channel.bind('my_event', function(data) {
        alert(data.message);
      });
    &lt;/script&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>Server Side Code Snippet (not working)</p>
  
  <pre><code>require('Pusher.php'); 
  $app_id = 'xxx'; 
  $app_key = 'xxx';
  $app_secret = 'xxx';
  $pusher = new Pusher($app_key, $app_secret, $app_id);
  $data['message'] = 'hello world';
  $pusher-&gt;trigger('test_channel', 'my_event', $data);
  </code></pre>