Re: [PHP4BETA] undefined function: bcdiv()

[email protected] (Rasmus Lerdorf) Mon, 29 May 2000 19:47:30 -0700 (PDT)
Newsgroups php.version4
Message-ID <[email protected]>
You probably didn't compile PHP 4 with bcmath support.

See the README.BCMATH file in the PHP 4 source distribution.

-Rasmus

On Mon, 29 May 2000, Arlon Wilber wrote:

> I've just finished migrating my system to dynamic version 4.0.0 php
> (apache 1.3.12, redhat 6.1, Kernel 2.2.12-20).
> 
> Most everything works correctly (including phplib, happily). But in going
> through my various scripts, I encountered the following error:
> 
> Fatal error: Call to undefined function: bcdiv() in
> /home/httpd/html/album/picadded.php on line 63
> 
> the offending line reads as follows:
> $newwidth=bcdiv(($width*$ratio),1,0);
> 
> Any ideas?
> 
> Thanks,
> Arlon
> 
> 
> 
> 
>