To install GMP for PHP7.0 on Ubuntu, run:
sudo apt-get install php7.0-gmp
Make sure your php.ini
contains the following:
extension=php_gmp.so
To find out where your php.ini
is located, run:
php --ini
More Related Contents:
- In PHP, how do I generate a big pseudo-random number?
- Undefined Offset Array [closed]
- xss attack on a php page
- Creating sign-in with my site functionality
- How to access and manipulate multi-dimensional array by key names / path?
- Is there a function to extract a ‘column’ from an array in PHP?
- Allow php sessions to carry over to subdomains
- How to implement authorization using a Telegram API?
- How to call a PHP function on the click of a button
- Get all permutations of a PHP array?
- Is possible to keep session even after the browser is closed?
- How to get rid of eval-base64_decode like PHP virus files?
- PHP file listing multiple file extensions
- PHP: Check if a file is loaded directly instead of including?
- Sanitizing user’s data in GET by PHP [duplicate]
- file_get_contents behind a proxy?
- PHP Mail, CC Field
- Get current domain
- How to enable and use HTTP PUT and DELETE with Apache2 and PHP?
- Check if value isset and null
- Should I use @ in my PHP code?
- PHP Warning: Invalid argument supplied for foreach()
- In PHP with PDO, how to check the final SQL parametrized query? [duplicate]
- Bounce Email handling with PHP?
- Passing data from controller to view in Laravel
- Difference between array_push() and $array[] =
- Add a custom column with meta data to My Account Orders table in Woocommerce 3+
- Insert value list does not match column list: 1136 Column count doesn’t match value count
- Get number of weekdays in a given month
- PHP mail() works from command line but not apache