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

Call to undefined function gmp_init #11

Open
bshaffer opened this issue Mar 16, 2016 · 0 comments
Open

Call to undefined function gmp_init #11

bshaffer opened this issue Mar 16, 2016 · 0 comments

Comments

@bshaffer
Copy link

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant