downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Runtime Configuration> <Requirements
[edit] Last updated: Fri, 10 Feb 2012

view this page in

Installation

In order to have these functions available, you must compile PHP with GMP support by using the --with-gmp option.



Runtime Configuration> <Requirements
[edit] Last updated: Fri, 10 Feb 2012
 
add a note add a note User Contributed Notes Installation
admin at ee-dd dot com 03-Oct-2011 09:18
on ubuntu you can get it from Synaptic Package Manager
just search words "gmp",you'll find it.
MiquelFire 24-Aug-2009 12:40
With PHP 5.3 on Windows, you need to use the VC9 build, otherwise you will not have the dll to enable GMP
Chris 02-Mar-2009 11:49
Under Windows you will need to uncomment the line

;extension=php_gmp.dll

within the php.ini and restart Apache.
arancaytar dot ilyaran at gmail dot com 30-Dec-2008 11:48
Note that this parameter requires a path, as in --with-gmp=DIR, if gmp is installed in a non-standard location, which is almost always the case when you are building your own PHP installation in your home directory.

Obvious, but it's an easy mistake.

 
show source | credits | sitemap | contact | advertising | mirror sites