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
Last updated: Fri, 20 Nov 2009

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
Last updated: Fri, 20 Nov 2009
 
add a note add a note User Contributed Notes
Installation
MiquelFire
24-Aug-2009 07: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 07: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
31-Dec-2008 07: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.

Runtime Configuration> <Requirements
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites