[Solution] JpGraph Error: 25128 The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.
Posted: 6 Dec 2013, 1:04am - Friday

JPGRAPH I always stumble down with this error for couple of projects now.

JpGraph Error: 25128 The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.
Two solutions as I know:
  1. install the required library
  2. or simply comment certain line
  For solution #1, simply cast yum install php-gd. For solution #2, as of version 3.5.0b1 -- comment line 110 (function SetAntiAliasing) at file gd_image.inc.php and that's it... problem solved. Another issue will be fonts:
JpGraph Error: 25049 Font file "/usr/share/fonts/truetype/arialbd.ttf" is not readable or does not exist.
Look for jpg-config.inc.php and add these lines:
define('CACHE_DIR','cache/');
define('TTF_DIR','includes/jpgraph/fonts/');
Note: Just place the right path where you setup your jpgraph folder Download required JpGraph Fonts: [download id="39"] And that should solve the problems... :) Samples:

progression_graph_1386128392 progression_graph_1386188039