Problem installing PEAR package with GMP extension requirement
Posted
by user339122
on Stack Overflow
See other posts from Stack Overflow
or by user339122
Published on 2010-05-12T08:59:38Z
Indexed on
2010/05/12
9:04 UTC
Read the original article
Hit count: 450
I want to install the Crypt_DiffieHellman PEAR package, that gives me the following error:
pear/Crypt_DiffieHellman requires PHP extension "gmp"
So I installed the gmp extension (using MacPorts' "php5-gmp"), both php -m
and extension_loaded('gmp')
indicate that the extension is loaded. However I still get the PEAR error when I try to install the package.
Am I missing something here? Or is this a (known) bug with the package/PEAR installer?
© Stack Overflow or respective owner