Ad Widget

Collapse

PHP Issues BC math and MB string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Emblibrary
    Junior Member
    • May 2011
    • 1

    #1

    PHP Issues BC math and MB string

    Trying to do a fresh install of Zabbix 1.8.5 on a RHEL5 server, everything was going fine however now when i load the webpage the checks fail for BC math and MB string. I tried to do a yum install php-bcmath and yum search bcmath, however was unable to find anything. When i do a php -i | grep bcmath i see it as --enable-bcmath=shared and the same for mbstring as shown as --enable-mbstring=shared. So it seems to me that they are enabled. I'm using php version 5.3.2-6. Any help would be greatly appreciated.
  • Zaniwoop
    Senior Member
    • Jan 2010
    • 232

    #2
    I seem to rememeber php-bcmath is not available under the RHEL repo.
    You will need to find another one that has it.

    Comment

    • stephen.bruce
      Junior Member
      • May 2011
      • 4

      #3
      I evaluated Zabbix 1.8.4 on a RHEL5 variant and needed to upgrade the PHP. This include mbstring and bcmath. These are the switches used:
      cd /usr/local/src/
      tar -tvxf php-5.2.17.tar.gz
      cd php-5.2.17
      ./configure --pgsql \
      --with-snmp \
      --with-ldap \
      --with-gd \
      --enable-zip \
      --enable-mbstring \
      --enable-bcmatch \
      --with-curl \
      --with-gettext \
      --without-sqlite \
      --with-apxs2 \
      --enable-sockets
      make
      make install

      Regards, stephen

      Comment

      Working...