ChartDirector for PHP

Completely Self-Contained
ChartDirector for PHP is completely self-contained and does not required any third party PHP or graphics module (“GD” not required).
High Performance Graphics Engine
ChartDirector’s built-in multi-threaded graphics engine is specially designed for high performance server side graphics. It is fast and efficient and employs high quality anti-alias graphics.
JsChartViewer Javascript Library
Sophisticated Javascript library to support ASP charts with AJAX features and advanced user interactions, such as mouse events for chart objects, programmable track cursor, zoomimg and scrolling, and realtime charts.
PHP Sample Code
Includes plenty of PHP charting sample code with an explorer-style browser page for easy viewing.
Comprehensive Documentation
Over 1500 pages of fully indexed and searchable documentation, available in both HTML and CHM formats.
System Requirements
PHP 5.0 or above on Windows, Linux or macOS.

PHP Version Compatibility

ChartDirector for PHP requires at least PHP 4.0.4pl1, and has been tested up to PHP 5.1.4 (the latest PHP release as of the date of this document).

Note: ChartDirector for PHP on Mac OS X only supports PHP 4.2.1 or above.
Extracting the ChartDirector Distribution

ChartDirector for PHP is released on Windows, Linux, FreeBSD, Mac OS X and Solaris. Before we start installation, you may want to verify the ChartDirector distribution you have downloaded is for your operating system by using the table below. If you do not know what is your operating system (eg. you are using a remote host), you may use phpinfo to find out.

Operating System File Name
Windows chartdir_php_win32.zip
Linux (i386) chartdir_php_linux.tar.gz
Linux (x86_64 – 64bit OS) chartdir_php_linux_64.tar.gz
FreeBSD (i386) chartdir_php_freebsd.tar.gz
Mac OS X (Power PC/Intel) chartdir_php_mac.tar.gz
Solaris (Sparc) chartdir_php_sunos.tar.gz

To install ChartDirector for PHP, extract the files from the ChartDirector distribution to your web server HTML directory (or any directory that allow PHP scripts to execute):

If you are using Windows, you may use Winzip or similar tools to unzip the ChartDirector distribution.

If you are using Linux, FreeBSD, Mac OS X or Solaris, first copy the ChartDirector distribution to your web server HTML directory, then change to your web server HTML directory, and issue the following commands:

gunzip [chartdir_file_name].tar.gz
tar xvf [chartdir_file_name].tar
If you cannot access the command prompt (eg. you are using a remote host with no telnet access), you may extract ChartDirector on a local machine first (eg. using Winzip), then upload the files to your host using FTP.

If the connection to your remote host is not fast, you may consider to upload only the “ChartDirector/phpdemo” and “ChartDirector/lib” subdirectories, while keeping the documentation “ChartDirector/doc” in your local machine.

Note for FreeBSD Users : If you are using the FreeBSD Ver 5.x or above, please ensure your system is configured to be compatible with FreeBSD 4.x (with compat4x installed). You may use “pkgadd -r compat4x-i386” to install compat4x if it is not already installed.

Verifying Your PHP Configuration

The core of ChartDirector is implemented as a PHP extension. If your PHP system supports dynamic loading of extensions, ChartDirector will automatically load the ChartDirector PHP extension when needed. Therefore, no PHP configuration is required to use ChartDirector.

However, some PHP systems may have dynamic loading of extensions disabled (eg. for security reasons) or restricted. In these cases, you may put an extension statement in php.ini to load ChartDirector.

PHP working as a multi-threaded web server module does not support dynamic loading of extensions (eg. “Server API = Apache” and “Thread Safety = enabled”). From experience, PHP/Apache on Windows is likely to be multi-threaded and is affected. PHP on Linux, FreeBSD, Mac OS X and Solaris is likely to be single-threaded and is not affected.

System administrators may disable dynamic loading of extensions by setting “enable_dl = No” or “safe_mode = Yes” in php.ini.

On Windows, PHP requires the extension files to be in the same logical drive as the PHP extension directory. If your web server HTML directory is in a different logical drive from your PHP extension directory, you would need to copy everything in “ChartDirector/lib” to the PHP extension directory.
You may use phpinfo to find out if the your PHP system belongs to one of the above types. Another method is to simply try the ChartDirector for PHP sample scripts to see if they work.

To try the sample scripts, use the following URL to view the sample scripts index page (note: the exact URL depends on where you have extracted ChartDirector to).

http://aaa.bbb.ccc.ddd/ChartDirector/phpdemo/index.php

In the sample scripts index page, there is a “check installation” link on the right window. If it returns the ChartDirector version along with some other information, then dynamic loading of ChartDirector is successful.

On the other hand, if it returns an error message, please refer to Trouble-Shooting ChartDirector for PHP Installation for instructions on how to resolve the problem. Note that messages in the “Boot Log” or the “Font Loading Test” are informational only and are not error messages.
Use Extension Statement in php.ini to Load ChartDirector

You need to use extension statement to load ChartDirector if your PHP does not support dynamic loading of extensions.

If your PHP supports dynamic loading of extensions, using extension statement is optional and may improve performance. It is because by using extension statement, instead of dynamically loading ChartDirector everytime when it is needed, PHP will just pre-load it once during initialization.

To use extension statement in php.ini to load ChartDirector:

Copy everything in “ChartDirector/lib” (including the fonts subdirectory in Linux, FreeBSD and Solaris versions) to the PHP extension directory.

Please ensure you know where is the PHP extension directory. From experience, the vast majority of issues are due to confusion on where is the PHP extension directory.

Enter the line “extension=phpchartdir###.dll” in php.ini, where “phpchartdir###.dll” is a file chosen using the table below. The file depends on your PHP version, operating system, and PHP thread-safety settings. You may use phpinfo to find out these settings. From experience, the majority of PHP systems on Linux, FreeBSD, Mac OSX and Solaris are not thread-safe.

How To Install?

Run the system and open PC properties.
Get the latest Software.
Go to the activation menu too.
After that, download the code and the crack from the link below.
Enter this key to activate.

Leave a Reply

Your email address will not be published. Required fields are marked *