How to enable php-gmp on Mac OS X 10.6.6? (no macports)

后端 未结 2 770
广开言路
广开言路 2021-01-19 01:42

I want to enable my php-gmp and I don\'t want to use macports because I use homebrew.

First I

brew install gmp

and I go

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-19 02:24

    Php-gmp is incompatible with GMP 5.0.1. This is a known bug, reported on bugs.php.net over a year ago. Check the comments on the bug to see if there's a workaround that works for you. If not, and if homebrew doesn't have a GMP 4.x package you can install instead, I think you're stuck building a copy of GMP 4.x manually. :-(

提交回复
热议问题