如何在PHP 7.0中启用bcdiv功能?


Answers:


16
  1. 安装模块bcmath

    sudo apt-get install php-bcmath
    

(注意:在php 7.0的ubuntu 16.04 ^上,改用php7.0-bcmath包)

  1. 最终重新启动apache服务

    sudo service apache2 restart
    

答案应注意,这不适用于php 7.0。至少在我的机器上它没有工作。下一遍-工作。
丹尼斯·马塔福诺夫'18

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.