Ad Widget

Collapse

PHP Fatal error: Call to undefined function bcscale() in defines.inc.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sin88
    Junior Member
    • Apr 2010
    • 2

    #1

    PHP Fatal error: Call to undefined function bcscale() in defines.inc.php

    Hello,

    I'm just starting with zabbix and on the begining of installation I've a problem.
    Platform that I have is Debian with Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8o DAV/2 PHP/5.3.6 PostgreSQL 9.0.4
    I have compiled and installed zabbix_server but when I want run frontend I see:

    PHP Fatal error: Call to undefined function bcscale() in /var/www/zabbix/include/defines.inc.php on line 797

    Could you help me in solving this problem?
  • sin88
    Junior Member
    • Apr 2010
    • 2

    #2
    Ok - I solved it by recompiling php with option --enable-bcmath

    Comment

    • marcelotada
      Member
      • Dec 2011
      • 31

      #3
      Hello guys,

      Yeah, I know this topic is a little old but, I have the same problem and the solution won't work to me. So I though perhaps this still can be useful to other people who have the same problem.

      Are there any other way to take php working without a recompilation?

      The problem is that I can't recompile the php because that recompilation is supposed to generate the "libphp5.so" in apache modules but it will only do it if you pass the arg "--with-aspx2" point to apache aspx. However, my apache doesn't have the DSO support so it doesn't have the aspx script.

      To have this one I supposed to recompile apache with "--enable-so" flag but that doesn't work too caused by an error like:

      "configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/"

      The curiou is that pcre is already installed so I don't know what to do next. See:

      pcre.x86_64 6.6-6.el5 installed

      Can anybody help us? Any suggest will be very very appreciated!

      Thanks!!

      Comment

      Working...