Skip to content
This repository was archived by the owner on May 29, 2018. It is now read-only.
This repository was archived by the owner on May 29, 2018. It is now read-only.

Call to undefined function gmp_init #11

@bshaffer

Description

@bshaffer

Following the instructions, I received this error:

PHP Fatal error:  Call to undefined function gmp_init() in /Library/WebServer/Code/protoc-gen-php/protocolbuffers.inc.php on line 285

Fix:

brew install php56-gmp

Suggestion:

  • include the GMP extension as part of the requirements
  • Check this extension is enabled and throw a useful error before attempting to install
  • provide extension install instructions for mac/linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions