XAMPP (WIndows) PHP GMP Functions

Is it possible to use PHP GMP functions on Windows without using a virtual machine?

Thanks in advance.

[ http://php.net/manual/en/ref.gmp.ph]

+3


source to share


2 answers


According to the GMP site:

The main GMP target platforms are Unix-type systems such as GNU / Linux, Solaris, HP-UX, Mac OS X / Darwin, BSD, AIX, etc. Also known to be 32-bit and 64-bit for Windows.



Also try uncommenting ;extension=php_gmp.dll

in php.ini

Hope it works!

+3


source


Now in XAMPP, which uses PHP 7.2.4, the comment has a different format:

;extension=gmp



By uncommenting this it will work as well!

+2


source







All Articles