Re: [PHP4BETA] undefined function: bcdiv()
| From: | Rasmus Lerdorf | Date: | Tue, 30 May 2000 02:47:30 +0000 |
| Subject: | Re: [PHP4BETA] undefined function: bcdiv() | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15925@lists.php.net to get a copy of this message | ||
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
>
>
>
>
>