Skip to content

Add compatibility with pecl_http #9

Description

@isra00

The current version of tempodb-php produces the following error when the pecl_http package (which contains the HttpRequest class) is installed:

PHP Fatal error: Cannot redeclare class HttpRequest in tempodb-php/http/HttpRequest.php on line 3

I was able to make it work removing the "implements HttpRequest" from the CurlRequest class declaration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions