error JPGraph Error 25128: The function imageantialias() is not available in your PHP installation pada linux ubuntu


jika anda menggunakan php kemudian mencoba membuat graph dengan library jpgraph dan keluar tulisan seperti ini

gambarnya

jpgraph_error2

maka solusi nya anda mematikan beberapa sourcecode 

buka pada folder jpgraph cari file gd_image.inc.php buka kemudian pada function SetAntiAliasing biasanya pada baris 110 beri  comment atau // pada code

JpGraphError::RaiseL(25128);//(‘The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.’)

menjadi seperti ini

// JpGraphError::RaiseL(25128);//(‘The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.’)

jpgraph_error

dan hasilnya

grafik1

referensi :

  1. http://hasannuh.com/2012/08/14/how-to-bagaimana-menghilangkan-error-imageantialias-is-not-available-saat-install-jpgraph/
  2. http://support.severalnines.com/entries/20978841-JPGraph-installation
  3. http://ubuntuincident.wordpress.com/2011/01/28/drawing-graphs-in-php-with-jpgraph/

semoga berguna 🙂

 

tinggalkan pesan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d blogger menyukai ini: