Ad Widget

Collapse

Check of pre-requisites not complete

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nilark
    Junior Member
    • Feb 2018
    • 6

    #1

    Check of pre-requisites not complete

    Hello people from zabbix,

    Somehow i got zabbix to work and gotten to the frontend installation!
    But now i am stuck again, i just have no clue what to do with these errors, and how to fix the missing PHP values. I tried searching for clues, but left me on the forums.

    Code:
    Check of pre-requisites
    At least one of MySQL, PostgreSQL, Oracle 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 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.
    PHP xmlwriter extension missing.
    PHP xmlreader extension missing.
    
                         Current value         Required	
    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/Amsterdam	OK
    PHP databases support	off		                Fail
    PHP bcmath	off		                                Fail
    PHP mbstring	off		                                Fail
    PHP sockets	on		                                OK
    PHP gd	unknown	                 2.0	                Fail
    PHP gd PNG support	off		                        Fail
    PHP gd JPEG support	off		                        Fail
    PHP gd FreeType support	off		                Fail
    PHP libxml	2.9.1	2.6.15	                                OK
    PHP xmlwriter	off		                                Fail
    PHP xmlreader	off		                                Fail
    PHP LDAP	off		                                        Warning
    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
    someone got a link? Many thanks.
  • volter
    Member
    Zabbix Certified Specialist
    • Dec 2011
    • 85

    #2
    You apparently didn't install from packages that would have resolved the dependencies for you. You must therefore do that yourself. If you installed PHP from packages, add the missing packages and restart the web server after that. Depending on your distribution, the package names may vary, but their names should be something like:
    • php-gd
    • php-bcmath
    • php-mbstring
    • ...

    Comment

    • Nilark
      Junior Member
      • Feb 2018
      • 6

      #3
      The thing is, i have all these things installed.

      Comment

      • volter
        Member
        Zabbix Certified Specialist
        • Dec 2011
        • 85

        #4
        Create a file that spits out php_info() and see where things are looked for. Unless you haven't restarted FPM or the webserver, you are probably using a different installation that the one the packages are built for.

        Comment

        • etecja
          Junior Member
          • Oct 2019
          • 5

          #5
          I'm have the same problem but I don'd getting solve it.
          I've used Ubuntu Server 18.04.3 LTS and Zabbix 4.4 with PHP 7.3. I already tried to intall using "sudo apt intall php7.3-bcmath (...)', but I haven't success.

          When I used the apt command to install that extensions the terminal return "php-bcmath is already the newest version (2:7.3+69+ubuntu18.04.1+deb.sury.org+2+php7.3)". Someone help me?

          Comment

          Working...