Ad Widget

Collapse

PHP bcmath & PHP mbstring extension missing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mavanpraet
    Junior Member
    • Nov 2019
    • 6

    #1

    PHP bcmath & PHP mbstring extension missing

    Hello,

    Rhel 7
    Zabbix version 4.4

    See below:
    All ok except :
    PHP bcmath and PHP mbstring

    Thanks for help

    Greetings


    PHP version 5.4.16 5.4.0 OK
    PHP option "memory_limit" 128M 128M OK
    PHP option "post_max_size" 16M 16M OK
    PHP option "upload_max_filesize" 2M 2M OK
    PHP option "max_execution_time" 300 300 OK
    PHP option "max_input_time" 300 300 OK
    PHP option "date.timezone" Europe/Brussels OK
    PHP databases support MySQL OK
    PHP bcmath off Fail
    PHP mbstring off Fail
    PHP sockets on OK
    PHP gd 2.1.0 2.0 OK
    PHP gd PNG support on OK
    PHP gd JPEG support on OK
    PHP gd GIF support on OK
    PHP gd FreeType support on OK
    PHP libxml 2.9.1 2.6.15 OK
    PHP xmlwriter on OK
    PHP xmlreader on OK
    PHP LDAP on OK
    PHP ctype on OK
    PHP session on OK
    PHP option "session.auto_start" off off OK
    PHP gettext on OK
    PHP option "arg_separator.output" & & OK
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    You must add/install missing php extensions.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      Enable RHEL 7 optional repository. You should be able to install PHP extension packages.

      ex.
      rhel-7-server-optional-rpms

      Comment

      • mavanpraet
        Junior Member
        • Nov 2019
        • 6

        #4
        Hello and thanks guys,

        Now i get this:

        sudo yum install rhel-7-server-extras-rpms rhel-7-server-optional-rpms
        Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
        shared_EPEL_epel-x86_64-server-7 | 2.4 kB 00:00:00
        shared_lcs-repos_soerpm_x86-64_rhel7 | 2.1 kB 00:00:00
        rhel-7-server-extras-rpms | 2.0 kB 00:00:00
        rhel-7-server-optional-rpms | 2.0 kB 00:00:00
        Not using downloaded rhel-7-server-optional-rpms/repomd.xml because it is older than what we have:
        Current : Fri Nov 1 07:54:20 2019
        Downloaded: Wed Oct 23 12:16:16 2019
        rhel-7-server-rpms | 2.0 kB 00:00:00
        rhel-server-rhscl-7-rpms | 2.0 kB 00:00:00
        No package rhel-7-server-extras-rpms available.
        No package rhel-7-server-optional-rpms available.
        Error: Nothing to do
        Uploading Enabled Repositories Report
        Loaded plugins: langpacks, product-id, subscription-manager
        Last edited by mavanpraet; 20-11-2019, 12:11.

        Comment


        • Atsushi
          Atsushi commented
          Editing a comment
          rhel-7-server-optional-rpms is the name of the repository. It is not the name of the package. Check the RHEL manual, check the list of configured repositories, and enable the optional repository.

          ex.
          # yum repolist all
          # yum-config-manager --enable rhel-7-server-optional-rpms
          Last edited by Atsushi; 21-11-2019, 04:05.
      • Fender1TTTt
        Junior Member
        • Nov 2019
        • 1

        #5
        On Windows, you have two ways to load a PHP extension: either compile it into PHP, or load the DLL Kroger Feedback.
        Last edited by Fender1TTTt; 26-11-2019, 06:55.

        Comment

        Working...