In ubuntu
bcadd() is a part of bcmath, a built-in php library.
You need to enable it when you build/install PHP.
You need to enable it when you build/install PHP.
For PHP5.6
sudo apt install php5.6-bcmath
For PHP7.0
sudo apt install php7.0-bcmath
For other PHP versions
sudo apt install php-bcmath
No comments:
Post a Comment