Re: why would I get this error?
| From: | Tim Converse | Date: | Wed, 04 Oct 2000 23:28:21 +0000 |
| Subject: | Re: why would I get this error? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18678@lists.php.net to get a copy of this message | ||
You need to have compiled PHP with --enable-bcmath for the BC functions to
be defined.
Also, there's been a recent change in the distribution of the BC math
package --- it's not part of the standard source anymore (see
http://www.php.net/manual/ref.bc.php).
Anyway, if a bc function is not defined it means that bc support wasn't
included at compile time.
-t
On Wed, 4 Oct 2000 16:21:06 -0700, Joe Stump wrote:
> bcmod() must not be in PHP 4.0 anymore - check the manual to see if there
is
> an alternative (or what the heck happened to it!)
>
> --Joe
>
> On Wed, Oct 04, 2000 at 06:13:20PM -0500, Chuck Barnett wrote:
> > if (strcmp(bcmod($rowcount,2),0)==0)
> >
> > bcmod works fine on php3 when I moved this to my new server (raq4i,
php
> > 4.0.1) I get this error.
> >
> > Fatal error: Call to undefined function: bcmod() in
> > /home/sites/site1/web/searchresult.php on line 114
> >
> > Chuck Barnett
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> /*****************************\
> * Joe Stump *
> * www.Care2.com *
> * Office: 650.328.0198 *
> * Extension: 122 *
> \*****************************/
> http://www.miester.org/Joe/Stump/Joe_Stump_resume.html
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GB/E/IT d- s++:++ a? C++++ UL++$ P+ L+++$ E----! W+++$
> N+@ o? K? w---! O-@ M+@ V-! P(++) PE(+) Y+@ PGP+++@ t+@
> 5? R-! tv@ b+ DI++@ D(++++) G++@ e+@ h@ r+! z(+++++**)!
> ------END GEEK CODE BLOCK------
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
----
Support me and PHP at the same time. :)
Order the PHP 4 Bible using http://www.php.net/books.php.
_______________________________________________________
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html