-1

While i want to install composer I have error:

enter image description here

I have installed GMP on my mac - i see it in folder + while i use "brew search gmp" i see checkmark. So its all all right.

I have also enabled in php.ini

extension=gmp.so
extension=php_gmp.so

I really don't what to do. I can't find those two files in GMP folder or anywhere in my mac. phpinfo or php -m don't see GMP loaded

Mike Doe
  • 16,349
  • 11
  • 65
  • 88
Albert
  • 11
  • 5

1 Answers1

1

Try updating your PHP version to v7.1.15 using brew install php@7.1 which should contain GMP already. They moved some stuff around recently, so the existing solutions got useless

Nico Haase
  • 11,420
  • 35
  • 43
  • 69