Re: Question about the HTTP_Request2 Package

From: Date: Mon, 14 Jan 2013 07:31:33 +0000
Subject: Re: Question about the HTTP_Request2 Package
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31695@lists.php.net to get a copy of this message
Hi Marshall, On 08.01.2013 0:25, Marshall Sumwalt wrote:
I am currently working with the Plivo API, which uses HTTP_Request2 package. I have installed it with pear and it had seemed to include everything alright, but when I try to use HTTP_Request2->setAdapter(), it tries to use CURLOP_ENCODING const. Yet it is not is not defined in the file. Perhaps I am missing an include that could have it. Any suggestions?
Assuming you mean CURLOPT_ENCODING constant, this is defined by cURL extension, not by HTTP_Request2: http://php.net/manual/en/book.curl.php If you don't have that extension enabled, Curl Adapter will not work, use Socket Adapter instead.

« previous php.pear.general (#31695) next »