|
Error in installing |
Posted by Ahmed Soliman on Jul-23-2014 23:44 |
|
I try to install the script ChartDirector with the installation instructions in the Docs but it
returns and error for me:
---------------------
Error Loading ChartDirector for PHP Extension
It appears this PHP system has not loaded the ChartDirector extension by using an
extension statement in the PHP configuration file (typically called "php.ini"). An attempt has
been made to dynamically load ChartDirector on the fly, but it was not successful. Please
refer to the Installation section of the ChartDirector for PHP documentation on how to
resolve this problem.
Error Log
The version and type of PHP in this system does not support dynmaic loading of PHP
extensions. All PHP extensions must be loaded by using extension statements in the PHP
configuration file.
System Information
Operating System : Windows NT DEV-03 6.2 build 9200 (Windows 8 Enterprise Edition) i586
PHP version : 5.5.9
PHP / Web Server interface : apache2handler
PHP configuration file location : "C:\\xampp\\php\\php.ini"
PHP extension directory : "C:\\xampp\\php\\ext" |
Re: Error in installing |
Posted by Peter Kwan on Jul-24-2014 03:38 |
|
Hi Ahmed,
Are you using 32-bit or 64-bit PHP? If you are using 32-bit Windows, you must be using
32-bit PHP. If you are using 64-bit Windows, you can be using 32-bit PHP or 64-bit PHP
(as 64-bit Windows can run both 32-bit and 64-bit applications). It depends on which
type Apache/PHP you have downloaded. Please make sure you know which type of PHP
you are using.
Assuming you are using 32-bit PHP (which is more common as it works on both 32-bit and
64-bit Windows), please make sure you have download ChartDirector for PHP for Windows
(32-bit) "chartdir_php_win32.zip". Your ChartDirector version must match your PHP type.
Please unzip the download, and then perform the followings:
(a) Copy *everything* (all files) from "ChartDirector/lib" to your PHP extension directory
"C:\\xampp\\php\\ext". After copying, you should see the files
"C:\\xampp\\php\\ext\\phpchartdir550.dll", "C:\\xampp\\php\\ext\\chartdir.dll" and several other
dlls in that directory.
(b) Please add the following line to your "php.ini" at "C:\\xampp\\php\\php.ini"
extension=phpchartdir550.dll
(c) Restart Apache
If the above still does not solve the problem, please check the Apache error log file to
see if there is any error. Please kindly let me know of the result. It is also useful if you
can provide a copy of your "php.ini" file, and the result of your "phpinfo" page.
Regards
Peter Kwan |
Re: Error in installing |
Posted by Ahmed Soliman on Jul-24-2014 15:41 |
|
Thank you the error was in my download version, Thanks again. |
|