I'm new to Composer, so be gentle!
I'm trying to install a script that uses Composer, but I get:
Problem 1
- Root composer.json requires PHP extension ext-gmp * but it is missing from your system. Install or enable PHP's gmp extension.
After researching, I've found you have to install GMP, so I did:
sudo apt-get install php7.4-gmp
That installed fine. Then I both:
/etc/php/7.4/cli/php.ini
/etc/php/7.4/fpm/php.ini
..and added in:
extension=gmp.so
Yet when I run the script again, I still get that error message!
From the frontend with <? ech phpinfo() ?>
I get it fine: (but I'm aware CLI and front-end PHP-FPM stuff runs under different configs);
What am I missing? Its driving me nuts! I'm also getting errors about the PHP version: