WEB-NES-BAY

Learn Tips and tricks on Linux, Hacking, linux, PHP, Perl, Web, Hardware

bookmark bookmark
Posted by WEBNESBAY Comments Off

You can create graphs and charts in PHP using GDChart extension. GDChart comes with the extension. This ext/gdchart extension, in turn, requires you to have GD support compiled into your PHP build. On UNIX systems, this is accomplished by downloading and installing the GD libraries from http://www.boutell.com/gd

After downloading you can install using pecl command
~$ pecl install gdchart
Also you can manually download the source code archive from http://pecl.php.net/package/GDChart and compile it as shown below
~$ cd gdchart-1.2
~$ phpsize
~$ ./configure
~$ make
~$ make install
Note: [...]

Categories: PHP