2

I'm trying to implemnet a push notification server.

I'm using: php + Urban Airship + Amazon EC2 Server.

When I try to run the php libary of urban airship I get an error (500).

I think I need to install the HTTP_Request package on my server.

Can anyone explain me how to do it?

skaffman
  • 398,947
  • 96
  • 818
  • 769
Shlomi Babluki
  • 101
  • 1
  • 1
  • 3

1 Answers1

0

Had the same issue a while back. Urban airship is using HTTP_Request. You can install it either via Pear:

pear install HTTP_Request

or your package manager:

yum install php-pear-HTTP-Request

on Debian, Ubuntu and Centos:

apt-get install php-http-request

Also it seems that the library generates some notices so you might also want to set error_reporting to E_ERROR or E_WARNING

Ian Atkin
  • 6,302
  • 2
  • 17
  • 24
tix3
  • 1,142
  • 8
  • 17