You can install it depending on what OS you are using: Ubuntu sudo apt install php7.0-bcmath CentOS yum install bcmath