Skip to content

PHP: google/protobuf requires bcmath extension #4284

@chingor13

Description

@chingor13

The PHP library version requires the bcmath PHP extension but there is no documentation or declared dependency in composer.json.

If bcmath is not installed, you get:

PHP Fatal error: Uncaught Error: Call to undefined function Google\Protobuf\Internal\bccomp() in /app/vendor/google/protobuf/php/src/Google/Protobuf/Internal/Message.php:882

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions