Chart Director出错

时间:2014-02-04 10:06:52

标签: php charts

我正在尝试在Ubuntu 13.04(64位操作系统)中安装Chart Director for PHP。我已经在php扩展目录中加载了dll文件。我也添加了这条线 php.ini文件中的extension = "phpchartdir540.dll"。我也在php中启用了自动加载。我甚至重新启动了系统。但我坚持以下错误。

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 : Linux ameex-desktop 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64
PHP version : 5.4.9-4ubuntu2.4
PHP / Web Server interface : apache2handler
PHP configuration file location : "/etc/php5/apache2/php.ini"
PHP extension directory : "/usr/lib/php5/20100525"

您能否请一询这个问题,确保我在安装中出错?

1 个答案:

答案 0 :(得分:0)

在您的php5配置位置,很可能/etc/php5/apache2/conf.d/添加一个名为carth.ini的文件,其中包含extension=phpchartdir540.dll