Re: bcdiv() function not recognized

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mauricio Pellegrini wrote:
> Hi all, 
> I'm usuing bcdiv like this

(you wouldn't believe the number of times I type 'I sue' instead
of 'I use' - and I don't even live on the continental US ;-)

> 
>> $someVar=bcdiv($timedifference,86400);
> 
> and it works perfectly on my local server apache 1.329 , php 4.34 and
> suse 8.2
> 
> 
> But when I put that module on the production server I get this error 
> 
> Fatal error:Call to undefined function:bcdiv() in /www/tst.php on line 9

the bc extension is not available on the production server it seems
(have a look at the output of phpinfo() to see if '--enable-bcmath'
is part of the configure line, my guess it that it's not.

more info on this here: http://php.net/bc

> 
> 
> 
> 
> Production Server is Suse 8.2 apache 1.329 php 4.34 
> 
> 
> What could be the problem here ?
> 
> 
> Thanks
>  Mauricio
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux