Topic: bcmath
Hi,
I installed php-bcmath, checked my PHP version first and php -v showed PHP 5.6.39
So I did yum install yum install php56-php-bcmath
yum list installed shows:
php56-php-bcmath.x86_64 5.6.39-1.el6.remi @remi-php55
But a simple test fails, test3.php:
<?php
echo bcadd("1", "2"); // 3
?>
Browser shows HTTP 500, log shows:
[Tue Dec 18 21:51:04 2018] [warn] [client 92.19.241.83] mod_fcgid: stderr: PHP Fatal error:
Call to undefined function bcadd() in /var/www/vhosts/..../test3.php on line 3
Can you see what I'm doing wrong please?
Many thanks
Mike