BCMath

From DreamHost

Jump to: navigation, search

Information About BCMATH

BCMath is PHP's Binary Calculator library for arbitrary precision mathematics which supports numbers of any size and precision, represented as strings.

Some third-party scripts you may wish to install on DreamHost require this library to be enabled in the PHP implementation, as they use functions supplied in this library (libbcmath).

The default Dreamhost PHP installations of PHP4 and PHP5 do not enable the BCMath module, though it is bundled with the current DreamHost versions of PHP. You don't need any external libraries for this extension, but you will need to enable it's use by installing your own version of PHP.

Install Custom PHP for BCMATH

DreamHost allows you to install your own version of PHP, and you may certainly enable the BCMath module in such an installation if you choose to do so.

DH does not install custom PHP configurations for customers' use, so this is something you will have to do yourself (or find someone other than DreamHost Technical Support Staff to help you with it or do it for you).

You can learn more about the BCMath module, and how to enable it in your custom PHP installation, in the PHP Reference Manual, and there are several DH wiki pages that can help you understand how to do this in the DreamHost environment:

Ask Dreamhost To Enable BCMATH

If you are here you might want to vote on the suggestions to enable BCMath so you don't have to go through the pain of installing your own php

Personal tools