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安装完成......"
关于php怎么安装bcmath扩展脚本就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。