XAMPP (WIndows) PHP GMP Functions

眉间皱痕 提交于 2019-12-22 08:33:44

问题


Is there any way to use PHP GMP Functions on windows without using a virtual machine?

Thanks in advance.

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


回答1:


According to GMP's website:

GMP's main target platforms are Unix-type systems, such as GNU/Linux, Solaris, HP-UX, Mac OS X/Darwin, BSD, AIX, etc. It also is known to work on Windows in both 32-bit and 64-bit mode.

Also try to uncomment ;extension=php_gmp.dll in php.ini

Hope it works!




回答2:


Now, in XAMPP that uses PHP 7.2.4 comment has another format:

;extension=gmp

Uncommenting this will make it work also!



来源:https://stackoverflow.com/questions/44448409/xampp-windows-php-gmp-functions

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!