php怎样安装bcmath扩展足本?(附代码)
发布时间:09/01 来源:未知 浏览:
关键词:
php怎样安置bcmath扩展足本?下面本篇文章给大家介绍一下php安置bcmath扩展足本的办法。有必然的参照 价值,有需要的伴侣可以参照 一下,但愿对大家有所帮忙。
#!/bin/bash bcmath_ini=/etc/php.d/40-bcmath.ini ## 安置bcmath扩展 cd /data/softs sudo tar zxvf php-5.6.30.tar.gz cd /data/softs/php-5.6.30/ext/bcmath/ sudo phpize sudo ./configure make &&make install ## 增添扩展配置 cat > $bcmath_ini <<EOF ; Enable bcmath extension module extension = bcmath.so EOF echo "bcmath安置完成......"