Announcement

Collapse
No announcement yet.

Problem with host-stat

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with host-stat

    Hi.
    I've a problem with host stats.

    I tried to search through the forum, but didn't find a solution.

    Everything works (I hope) but the host stats: there I just see the
    hoststats string.

    Looking at the page source, I saw a call to :
    /include/home/pie_chart_host.php

    Trying to call that URL, I see the following error:
    Fatal error: Call to undefined function imagettfbbox() in /usr/local/lib/php/Image/Canvas/GD.php on line 1374

    Do you have any advice?

    Many thanks in advance,
    Massimiliano
    Last edited by mzicc; 19 September 2007, 17:37.

  • #2
    I found the solution.
    When it didn't work, I compiled php with a command like this:
    ./configure --with-apxs2=/path/to/apache/bin/apxs --with-mysql=/path/to/mysql/ --with-gd

    The right way to compile it was:
    ./configure --with-apxs2=/path/to/apache/bin/apxs --with-mysql=/path/to/mysql/ --with-gd --with-ttf --with-freetype-dir

    Thank you all and sorry if I bothered you,
    Massimiliano

    Comment

    Working...
    X