Php gmp extension


I have an existing wordpress site installed on Easyengine.

I now need a php extension called GMP

I tried to install it but failed.

Does anybody know the answer?

Thank you for helping out

I am still looking for a way to install GMP extension, anybody?


Not sure if that would work but can you try,

apt-get install php-gmp

Thanks for your help,

I tried it, it installed correctly but my Wordpress still uses

This is from ssh :

`support@ubuntu-xenial-1:~$ sudo apt-get install php-gmp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
The following NEW packages will be installed:
  php-gmp php7.0-gmp
0 upgraded, 2 newly installed, 0 to remove and 55 not upgraded.
Need to get 25.3 kB of archives.
After this operation, 109 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 xenial/main amd64 php7.0-gmp amd64
1 [20.7 kB]
Get:2 xenial/main amd64 php-gmp all [4
,622 B]
Fetched 25.3 kB in 0s (54.6 kB/s)
Selecting previously unselected package php7.0-gmp.
(Reading database ... 96966 files and directories currently installed.)
Preparing to unpack .../ ...
Unpacking php7.0-gmp ( ...
Selecting previously unselected package php-gmp.
Preparing to unpack .../ ...
Unpacking php-gmp ( ...
Processing triggers for php7.0-fpm ( ...
Setting up php7.0-gmp ( ...
Creating config file /etc/php/7.0/mods-available/gmp.ini with new version
Setting up php-gmp ( ...
Processing triggers for php7.0-fpm ( ...
support@ubuntu-xenial-1:~$ sudo service nginx reload` 

Thank you for the help

When I first installed php7 it did not work, so I reverted with the command ee site update --php7=off

Now that I did the update I used the command

ee site update --php7

and now it works, THANKS!

for me it too apt-get install php5.6-gmp

sudo apt-get install php5-gmp or sudo apt-get install php7.0-gmp

and enable: in php.ini