# yum -y install gmp-devel
# tar xzf php-7.2.10.tar.gz
# cd php-7.2.10/ext/gmp
# /usr/local/php/bin/phpize
# ./configure --with-php-config=/usr/local/php/bin/php-config
# make && make install
添加到php.ini
extension=gmp.so
# yum -y install gmp-devel
# tar xzf php-7.2.10.tar.gz
# cd php-7.2.10/ext/gmp
# /usr/local/php/bin/phpize
# ./configure --with-php-config=/usr/local/php/bin/php-config
# make && make install
添加到php.ini
extension=gmp.so
本文标题:php 添加gmp扩展
本文链接:https://www.haomeiwen.com/subject/mhiynltx.html
网友评论