Ad Widget

Collapse

Problem creating maps- zabbix 1.1.1 on FreeBSD

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • egc
    Junior Member
    • Jul 2006
    • 3

    #1

    Problem creating maps- zabbix 1.1.1 on FreeBSD

    Hi, all.

    I tried to create a map showing some of my hosts. After adding the first element, an error displayed below the Elements and Connectors areas:

    Fatal error: Call to undefined function imagecreatefromstring() in /usr/local/www/data/include/maps.inc.php on line 24

    This error appears when I try to add another element, when I try to add a Connector, and when I try to display my map.

    I'm using 1.1.1 on FreeBSD, I compiled with --enable-server --with-mysql --with-net-snmp. There were no fatal errors when I compiled.

    Any suggestions or pointers?

    Thanks!

    Emily
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    You must have php-gd module installed.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Klug
      Junior Member
      • Jul 2006
      • 11

      #3
      Emily, did you use the ports to setup PHP ?

      Comment

      • egc
        Junior Member
        • Jul 2006
        • 3

        #4
        Alexei, I have php5-gd installed.

        Klug, I had to build php manually- the port wasn't installing correctly. I installed php 5.1.4.

        Comment

        • egc
          Junior Member
          • Jul 2006
          • 3

          #5
          When I look in /usr/local/etc/php/extensions.ini it lists gd.so; I think PHP knows that GD is installed.

          Any further suggestions?

          Comment

          Working...