How to: --enable-bcmath

How can i install bcmod?

I need the math functions for my PHP build. What can i doo
How can i configure my PHP with --enable-bcmath?

Howdy,

Which distro are you running?

It may just be a matter of installing the package. The Virtualmin repository, as well as many distro’s, package php-bcmath as a separate PHP module.

On CentOS 5, for example, you’d just run:

yum install php-bcmath

So I’d recommend searching your available packages on your distro for bcmath, look for the PHP module, then you should be able to install that.
-Eric

thank you for your answer. it was very helpful.

office@colesnicov.at wrote:

How can i install bcmod?

I need the math functions for my PHP build. What can i doo
How can i configure my PHP with --enable-bcmath?

yum search string works too :slight_smile: