martin-heusse / gresi-monitor

MIT License
1 stars 2 forks source link

Document php-bcmath dependency #6

Open Oliv4945 opened 3 years ago

Oliv4945 commented 3 years ago

BCMATH dependency should be documented otherwise one could get the error:

PHP Fatal error:  Uncaught Error: Call to undefined function bcmod() in recuptodbtic.php:38
Stack trace:
#0 recuptodbtic.php(82): convBase('XXXX...', 'XXXX', 'XXXX...')
#1 {main}

Under Debian/Ubuntu: apt install phpX.Y-bcmath RPM base: yum install php-bcmath Or recompile PHP with --enable-bcmath command

Note: I can propose a PR

martin-heusse commented 3 years ago

Yes, please :-)