Re: Re: Possible bug in PHP 5.3.5 with OAuth extension?
| From: | Jim Lucas | Date: | Sat, 05 Mar 2011 01:30:25 +0000 |
| Subject: | Re: Re: Possible bug in PHP 5.3.5 with OAuth extension? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311680@lists.php.net to get a copy of this message | ||
On 3/4/2011 5:18 PM, Daniel Hong wrote:
> Correction:
>
> I stated the incorrect version of PHP that does not seem to have this issue.
> The version of PHP that works correctly is 5.3.2, not 5.3.3.
Can you give us an example of what you are doing?
Jim Lucas
>
> Thanks,
> daniel
>
> On Fri, Mar 4, 2011 at 11:40 AM, Daniel Hong <daniel@amagineinc.com> wrote:
>
>> Hello,
>>
>> I'm using the PHP OAuth extension and running into a strange issue. I'm not
>> sure if it's a bug in PHP 5.3.5, or if it's a bug in the OAuth extension
>> when installed on a system with PHP 5.3.5.
>>
>> On a machine with PHP 5.3.5, when I call OAuth::fetch() with http method of
>> POST, the debug info is showing that it is sending as a GET request. As a
>> result, the resource that I'm fetching returns with failure since it will
>> only respond to a POST request. I tested this out on two different machines,
>> and getting the same result on both. One machine is Ubuntu 10.04 with nginx
>> 0.8.54 and PHP 5.3.5. The other is CentOS 5.5 with apache 2.2 and PHP 5.3.5.
>>
>> I have another Ubuntu 10.04 machine with PHP 5.3.3, and I am not having
>> this issue on that machine. The OAuth debug info is correctly showing http
>> method of POST.
>>
>> I guess I'll need to use PHP 5.3.3 in the mean time, but it would be great
>> to know what the problem is.
>>
>> Thanks,
>> daniel
>>
>