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
Creating charts in PHP
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Creating charts in PHP
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();
?>
-
Amit Rathi
- Forum Newbie
- Posts: 7
- Joined: Fri Jul 25, 2008 6:17 am
- Location: India
Re: Creating charts in PHP
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
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