Ad Widget

Collapse

PHP extension missing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sathiya
    Junior Member
    • Jul 2017
    • 27

    #1

    PHP extension missing

    Message:
    At least one of MySQL, PostgreSQL, Oracle, SQLite3 or IBM DB2 should be supported.
    PHP bcmath extension missing (PHP configuration parameter --enable-bcmath).
    PHP mbstring extension missing (PHP configuration parameter --enable-mbstring).
    PHP sockets extension missing (PHP configuration parameter --enable-sockets).
    PHP gd extension missing (PHP configuration parameter --with-gd).
    PHP gd PNG image support missing.
    PHP gd JPEG image support missing.
    PHP gd FreeType support missing.

    ***

    We are in the process of Zabbix 3.2 version installation, server is up but getting the above message even after enabling the above details internally in server level.
    Please let us know the fix???

    ***
    Also we are in the process of installing some PHP components. The components are mention below -


    1. PHP bcmath
    2. PHP mbstring
    3. PHP sockets
    4. PHP gd
    5. PHP gd PNG support
    6. PHP gd JPEG support
    7. PHP gd FreeType support
  • allexpetrov
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2017
    • 361

    #2
    Hi, sathiya !

    Please specify what kind of installation you are trying to perform - from repo, packages or you are trying to build from source ?

    If you are new with linux/Zabbix - better choose an option to install from repo. Installing from repo will also install the components, which are necessary to run Zabbix.

    From now it looks like you are trying to build from sources, so you need to specify which database engine you want to use and also install additional PHP elements.

    Please, go through the Zabbix documentation to get more info about the installation process:


    Regards,
    Alex!

    Comment

    • sathiya
      Junior Member
      • Jul 2017
      • 27

      #3
      PHP extension missing

      Thanks Alex,

      We have RHEL 6 version
      And we are trying to install from repo but getting error while installing the php components.
      we tried the below command:
      php -i | grep extension_dir ---------->>Unable to load dynamic library '/usr/lib64/php/modules/php_mbstring.so',php_gd2.so , pgsql.so

      but it didnt work hence we tried yum command:
      sudo yum install php-mbstring -------------->>No package php-mbstring available
      still not working, could you please advice how to install these PHP modules or can we download php extnsion ( *.so files ) ?

      Comment

      • allexpetrov
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2017
        • 361

        #4
        Hi sathiya,
        First thing you need to check is your PHP version. The PHP version required for 3.2 is 5.4 or newer. I believe that you have older one.

        Also, in any case, use yum search <string> to find the right package name.

        P.S. - By the way, is it mandatory to use REHL v6 or you can upgrade to newer and use REHL v7 ? https://www.zabbix.com/documentation...y_installation

        Comment

        • sathiya
          Junior Member
          • Jul 2017
          • 27

          #5
          PHP extension missing

          Hi Allex,

          Yes you are correct, the PHP version which we have is 5.3 and obviously it will not work in this case.

          we started the installation since we had RHEL 6 server in ready state, but it is not mandatory to use the same version.

          we can have RHEL 7 as well, so you mean to say RHEL 7 version will have all the required PHP components by default (for 3.2 installation)? and we can avoid this issue?

          Comment

          Working...