开发者问题收集

图表导演错误

2014-02-04
1774

我尝试在 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个回答

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

Guest
2014-03-18