#bcmul

yii2中提示Call to undefined function bcmul

其实是没有安装php-bcmath扩展1.查看php版本:php-v2.安装扩展 以php5.6为例 yuminstallphp56w-bcmath3.查看已安装的扩展 yumlistinstalled|grepphp56*重启php-fpm即可。...