Re: [Owfs-developers] ownet.php error

2009-03-31 Thread Jaap Struyk
Matthias Urlichs schreef: > The core problem is that the PHP function is named "bccomp", > as a glance at the appropriate manpage should have told you. :-P Auch, now I am ashamed... (I will complain at google that they missed that ;) That indeed did work, pity that php is always telling that the

Re: [Owfs-developers] ownet.php error

2009-03-31 Thread Matthias Urlichs
Hi, Jaap Struyk: > php is telling undefined function so it looks like bccmp is not > available, could it be related to suhosin? > The core problem is that the PHP function is named "bccomp", as a glance at the appropriate manpage should have told you. :-P -- Matthias Urlichs | {M:U} IT Desi

Re: [Owfs-developers] ownet.php error

2009-03-31 Thread Jaap Struyk
Roberto Spadim schreef: > ownet.php use bcmath extension I have bcmath compiled in, php -i | grep bcmath is showing me it is available. Using: PHP 5.2.8 with Suhosin and eaccellerator. > or... change ownet code where using bccmp function, use somethink like > if(x>y) or (x bcmath is a precise ca

Re: [Owfs-developers] ownet.php error

2009-03-31 Thread Roberto Spadim
ownet.php use bcmath extension dl('bcmath.so'); dl('bcmath.dll'); or... change ownet code where using bccmp function, use somethink like if(x>y) or (x > Hello, > > Trying to play with ownet.php I run into: > PHP Fatal error: Call to undefined function bccmp() in /root/ownet.php > on line 516 >

[Owfs-developers] ownet.php error

2009-03-31 Thread Jaap Struyk
Hello, Trying to play with ownet.php I run into: PHP Fatal error: Call to undefined function bccmp() in /root/ownet.php on line 516 when trying to read my counter: $rpm_eng=($ow->read("/1D.E4D90D00/counters.A")); All other sensors are fine and php has bcmath builtin, is this me doing somethin