Php gmp extension

Hi,

I have an existing wordpress site installed on Easyengine.

I now need a php extension called GMP http://php.net/manual/en/gmp.installation.php

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?

Hi

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 5.6.23-2+deb.sury.org~xenial+1

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:
  php7.0-gmp
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 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0-gmp amd64 7.0.8-4+deb.sury.org~xenial+
1 [20.7 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-gmp all 1:7.0+42+deb.sury.org~xenial+2 [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 .../php7.0-gmp_7.0.8-4+deb.sury.org~xenial+1_amd64.deb ...
Unpacking php7.0-gmp (7.0.8-4+deb.sury.org~xenial+1) ...
Selecting previously unselected package php-gmp.
Preparing to unpack .../php-gmp_1%3a7.0+42+deb.sury.org~xenial+2_all.deb ...
Unpacking php-gmp (1:7.0+42+deb.sury.org~xenial+2) ...
Processing triggers for php7.0-fpm (7.0.8-4+deb.sury.org~xenial+1) ...
Setting up php7.0-gmp (7.0.8-4+deb.sury.org~xenial+1) ...
Creating config file /etc/php/7.0/mods-available/gmp.ini with new version
Setting up php-gmp (1:7.0+42+deb.sury.org~xenial+2) ...
Processing triggers for php7.0-fpm (7.0.8-4+deb.sury.org~xenial+1) ...
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 example.com --php7=off

Now that I did the update I used the command

ee site update example.com --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: extension=php_gmp.so in php.ini