Page 1 of 1

Creating charts in PHP

Posted: Wed Jul 16, 2008 2:33 pm
by jwholey
Hello all,

I'm relatively new to PHP. I'm running PHP5.1.6 on Fedora Core 6. I'm looking for freeware that can create nice charts for me. I downloaded libchart-1.2.1. It has a pre-req of PHP5, compiled with GD 2+ and FreeType 2+. I don't know if I have those pre-reqs and am not sure how to determine if I do or not.
So... my question is, how can I tell what PHP was compiled with... and more importantly, can anyone recommend a relatively simple freeware PHP charting tool. (i.e. that doesn't require me to recompile PHP). Thanks.

Regards, Joe

Re: Creating charts in PHP

Posted: Wed Jul 16, 2008 3:50 pm
by jaoudestudios
create a php file with the code below in it, view the file through your browser and it will give you your configuration information

Code: Select all

 
<?php
echo phpinfo();
?>
 

Re: Creating charts in PHP

Posted: Fri Jul 25, 2008 6:32 am
by Amit Rathi
First Check phpinfo;
if GD library not shown in this file output. Check settings in php.ini

With this version you need not to recompile PHP with GD library. you just need to check php.ini



jwholey wrote:Hello all,

I'm relatively new to PHP. I'm running PHP5.1.6 on Fedora Core 6. I'm looking for freeware that can create nice charts for me. I downloaded libchart-1.2.1. It has a pre-req of PHP5, compiled with GD 2+ and FreeType 2+. I don't know if I have those pre-reqs and am not sure how to determine if I do or not.
So... my question is, how can I tell what PHP was compiled with... and more importantly, can anyone recommend a relatively simple freeware PHP charting tool. (i.e. that doesn't require me to recompile PHP). Thanks.

Regards, Joe